Standard Theme Hook Names

To make customizing WordPress themes easier, theme developers have started to include hooks in their themes. They are often referred to as WordPress Hooks, because they use WordPress function to manage them and do the heavy work, but they aren’t bounded by any naming convention or locations in the WordPress Software or any of its attachments (Themes and Plugins). There name comes from the fact that you are “hooking” code into the original software without modifying the files.

These hooks that are being added in by theme developers should be standardized. Everyone using them has a similar naming convention and it would make it easier and more universal for the people that actually attach snippets of code to these hooks.

It’s going to take some work though. Theme developers need to agree on the names and locations. Then it needs to be made known to people making themes and popularized with the poeople that are going to use it. I think this will help bring theme options out of the theme and into plugins, which should be good.

This entry was posted in WordPress. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">