From the course: WordPress: Action and Filter Hooks

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Identifying available hooks and filters

Identifying available hooks and filters - WordPress Tutorial

From the course: WordPress: Action and Filter Hooks

Start my 1-month free trial

Identifying available hooks and filters

- [Instructor] We've talked about the plug-in API and the capabilities it gives us to extend WordPress. But short of sitting down and memorizing the documentation, how do you know if a hook exist to interact with WordPress in the way you want? For that matter, if you're trying to extend a third-party plugin that has its own built-in hooks, how do you know what's available to you? Well, the answer really isn't super sexy. It just involves research through developer documentation and a really good friendship with Google. This goes back to the scavenger hunt thing. Over time as you work with WordPress, you'll actually start to memorize hooks or at least remember that one existed, even if you don't remember the exact syntax for it, but until then, you'll want to get comfortable using the developer docs and even reading the source code itself. It's really well documented. So, both the action reference and the filter reference here…

Contents