June 10, 2019
Do_action? Apply_filter? What the hook!?
Hooks play a powerful role in WordPress development, but they can be confusing when you’re just getting started.
Let’s delve into the differences between actions and filters and look at examples of how they are used in core, themes, and plugins.
This talk is geared towards WordPressers who know their way around theme files and may have created child themes or are itching to do more customizations with existing themes & plugins, but don’t know where to start.
We’ll get into the nitty gritty of actions and filters, taking a look at input, output, priority, and naming schemes. We’ll also discuss how to find and understand hooks in core, themes, and plugins.
I will give examples of custom hooks I have added to my own projects and explain the advantages of doing so. By the end, I would like every attendee to be empowered to create their own hook in their next project.