‘hooks’ Videos

  • David Laietta: WordPress Hooks, Actions and Filters Oh My!

    WordCamp NYC 2015Speaker: David Laietta

    December 23, 2015 — This talk will introduce you to WordPress actions, filters and hooks. We’ll cover what they are, how to use them and a few examples in action. Get ready to get more out of your site by powering up your themes and plugins with hook magic!

    Presentation Slides »

  • Aaron Brazell: Asynchronous Events

    WordCamp Baltimore 2015Speaker: Aaron Brazell

    December 16, 2015 — Whenever a post is saved, a page is loaded, a comment is created or a template is loaded, WordPress fires off events that, as developers, we have loved and cherished. These events are hooks. While hooks have been the quintessential building blocks of WordPress for over a decade, they come with a cost. Often times, developers will hook functionality into the save_post event, for instance, to fire off a notification to an external service or perform some sort of background task. The more of these tasks are hooked into WordPress, the slower WordPress becomes.

    In this talk, I will show you how to alleviate these bottlenecks with asynchronous hooks – hooks that can be used to perform the exact same tasks, but not block the rest of WordPress from running. Through a library created by 10up’s Eric Mann and John Bloch for TechCrunch on WordPress VIP, the overhead of running actions can be reduced to a negligible amount.

    Presentation Slides »

  • Aaron Brazell: Asynchronous Events

    WordCamp US 2015Speaker: Aaron Brazell

    December 11, 2015 — Whenever a post is saved, a page is loaded, a comment is created or a template is loaded, WordPress fires off events that, as developers, we have loved and cherished. These events are hooks. While hooks have been the quintessential building blocks of WordPress for over a decade, they come with a cost. Often times, developers will hook functionality into the save_post event, for instance, to fire off a notification to an external service or perform some sort of background task. The more of these tasks are hooked into WordPress, the slower WordPress becomes.

    In this talk, I will show you how to alleviate these bottlenecks with asynchronous hooks – hooks that can be used to perform the exact same tasks, but not block the rest of WordPress from running. Through a library created by 10up’s Eric Mann and John Bloch for TechCrunch on WordPress VIP, the overhead of running actions can be reduced to a negligible amount.

    Presentation Slides »

  • Evan Volgas: Things You Always Wanted To Know About WordPress (but were afraid to ask)

    WordCamp US 2015Speaker: Evan Volgas

    December 10, 2015 — This talk will cover a few key “Aha” moments that you should have about the way WordPress works. We’ll talk about things like the template hierarchy, what’s going on in wp-config, where WordPress content is stored (the database vs. the file system), how posts and pages and custom post types are represented in the database, what folks are talking about when they talk about hooks and filters, and just generally review the “behind the scenes” mechanics of how WordPress works. We’ll also touch on a few “tricks of the trade” that you might not realize are out there (version control, staging sites, caching, Vagrant, and other fun tools to make development with WordPress just a little bit easier).

    This talk is aimed at designers and new developers who maybe have a few PHP tricks up their sleeves, but still haven’t figured out some of the details behind the scenes.

    If you’ve never edited functions.php and don’t know what it is, this probably isn’t a good talk for you just yet. If you’ve written a plugin or modified several .php files in your WordPress themes, this talk will probably be a bit too basic for you. If you’ve set up a child theme before and know what functions.php is, even if you haven’t really used it all that much, or even at all…. you’re probably the exact person who will get a lot out of this talk. And if that’s you, you should be able to walk away with a solid mental model of how WordPress works “behind the scenes” and be in a much better position to do development with it

    Presentation Slides »

  • James Bonham: There’s a Hook for That

    WordCamp Denmark 2015Speaker: James Bonham

    December 7, 2015 — How can you change theme elements without creating child themes? How can you change plugin behaviour, or admin screens, without hacking the code? Through concrete real-world examples, I’ll show you how powerful actions and filters in WordPress are. If you are just beginning to learn to code, you can use them today with just a little PHP. If you are an experienced developer, you’ll get some insight into the typical use-cases I meet in my daily work, and maybe discover a new hook you didn’t know about.

    Presentation Slides »

  • Alex Mansfield: Building Extensible Themes With Hooks And Filters

    WordCamp Portland 2015Speaker: Alex Mansfield

    November 22, 2015 — In this talk, I would like to explore a third option that uses the WordPress hook and filter system to find a comfortable middle ground. Using this method, the index.php file is used as starting point, with all of its output added via hooks and filters. Additional page templates simply add or remove actions from these hooks and filters. This methodology allows new templates to be created quickly and easily. Existing templates can also be modified on a per-use basis. To get the most out of this session, familiarity with WordPress Theme development and PHP are recommended. Knowledge of the WordPress hook/filter system will be helpful, but not required.

    Presentation Slides »

  • Luca Tumedei e Enea Scerba: Filtri e azioni di WordPress

    WordPress Meetup BolognaSpeakers: Luca Tumedei, Enea Scerba

    November 8, 2015 — Impareremo insieme cosa sono e come gestire i filtri e le azioni di WordPress, parte teorica e dimostrazione con un plugin creato ad hoc per la serata.

    Dimostrazione di funzionamento di azioni e filtri all’interno del plugin demo è possibile trovare tutti i riferimenti al codex di WordPress: http://bit.ly/1XZ71OC

    Presentation Slides »

  • Craig Ralston: Hooking Into WordPress

    WordCamp Providence 2014Speaker: Craig Ralston

    August 5, 2015 — This presentation gives an in-depth look into how to extend or modify core functionality without touching core files. Learn how to use actions and filters as well as create their own custom hooks. We also take a look at some core hooks, and the best practices when it comes to using them.

  • Bobby Bryant: Intro to WordPress Hooks

    WordCamp Dayton 2015Speaker: Bobby Bryant

    July 18, 2015 — This talk will be geared towards WordPress users who have taken the dive into customizing WordPress. The goal is to take them from copying and pasting random code snippets in functions.php, and have them better understand the event driven nature of WordPress.

    In addition to a basic discussion of actions and filters, this discussion will also include coding examples of hooks in action.

    To make this talk more relevant to developers already past the hooks hurdle, I would also end the talk by touching on the concept of adding custom WordPress hooks into your own code.