woocommerce / woosidebars

Replace registered sidebars in your WordPress themes using different conditions such as a specific page, a category or even an individual blog post.
https://wordpress.org/plugins/woosidebars/
51 stars 42 forks source link

Add filter hook to filter name and id of the registered sidebars #51

Closed rahulv3a closed 6 years ago

rahulv3a commented 8 years ago

Ability to filter names and ids of the registered sidebars by woosidebars would be wonderful. I usually use these to add certain prefixes.

jeffikus commented 8 years ago

@mattyza you able to handle?

mattyza commented 8 years ago

@jeffikus - Sure.

@rahulnever2far - Thanks for this. Before we explore merging, do you have an example of where these filters would be used?

I can see the principle behind wanting to filter this information, yet don't see the immediate necessity of it, as one could simply control the widget area title and slug using WP Admin (these are text inputs).

Thanks in advance for your feedback!

mattyza commented 6 years ago

Filter added in #64 remedies this as well.