Hooks (actions and filters) are a developer’s best friend in WordPress.
WordPress core offers us a very wide range of opportunities to execute our own functions at key times, and also to modify key pieces of data being utilized to render our web pages.
In a similar manner, we can create our own actions and filters (which is actually very quick to do) and thereby allow others to hook into our own processes.
When it comes down to it, plugins couldn’t really exist without hooks, so they play a vital role in the WordPress code base.
I spoke about using and creating your own hooks at WordCamp Asheville 2016, and here are the video, presentation slides, and accompanying GitHub gist for my talk.
Leave a Reply