woocommerce / projects

39 stars 26 forks source link

Add filter hooks to taxonomy class. #72

Closed abouolia closed 10 years ago

abouolia commented 10 years ago

Add filter hooks to taxonomy class to change UI names.

mattyza commented 10 years ago

Thanks for sending this, @abouolia. The reason for these filters not being present is down to how the taxonomy class has been developed. It's really easy to re-declare the class with new values for the singular and plural strings, making multiple taxonomies possible. The strings are also translatable via a POT file.

@jameskoster I'm fine with whatever decision you make about this PR. :)

jameskoster commented 10 years ago

Yeah I suppose it depends on your itentions @abouolia, why do you actually need this? More filters never really hurt but might not be necessary...

abouolia commented 10 years ago

I think this will give people more flexibility to change names UI without any complexities in declare the class.

jameskoster commented 10 years ago

Yeah I don't think this can hurt. More flexibility is always nice.

jameskoster commented 10 years ago

@abouolia please resend to the release branch though, thanks.