digisavvy / some-like-it-neat

A WordPress Theme Using _s, Bourbon + Neat and Theme Hook Alliance
GNU General Public License v2.0
276 stars 61 forks source link

Pluggable functions #42

Closed justintadlock closed 9 years ago

justintadlock commented 9 years ago

I don't recommend pluggable functions unless there's no good way to unhook or unregister the functionality. This encourages others to bypass the core APIs to modify functionality. Plus, there's both backward and forward compatibility concerns.

For example, the digistarter_widgets_init() function is pluggable but doesn't need to be. Child theme devs can easily unhook this or unregister the sidebars (preferable).