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.
January 23, 2018 — One of the most beautiful and powerful features of WordPress is its flexibility and extensibility – everybody can make WordPress to fit their needs.
But with great power comes great responsibility of doing things the right way. Any WordPress developer can tell endless horror stories of sites they took over from somebody else – modified Core, modified plugins, thousands of lines of code in functions.php, etc.
This talk introduces the main ways of extending WordPress and explain how to use them properly, with particular emphasis on WordPress hook system.
November 16, 2017 — If you are a WordPress developer, you are likely familiar with the basic hooks like init, wp_enqueue_script, and wp_footer. These are the bread and butter of WordPress development. WordPress has a whole world of advanced hooks and filters and combined with OOP, autoloaders, or clever file requirements you can use these to make your code smaller, faster, and better.