‘hooks’ Videos

  • Michael Hull: Using Hooks (and Creating Your Own)

    Michael Hull: Using Hooks (and Creating Your Own)

    WordCamp Asheville 2016Speaker: Michael Hull

    August 16, 2016 — Hooks give end users a chance to write custom code that safely alters the behavior of WordPress core, plugins and themes – all without modifying the core, plugin or theme code itself.

    In this talk, we’ll go over basic usage of WordPress hooks, and we’ll explore ways to find the right hook when you have a need for custom functionality. We’ll also talk about how easy it is to create your own hooks, and how important it is to do so when creating plugins and themes.

    Take aways:

    Learn how WordPress is listening for you to run your own code at certain key points.
    Safely alter or add to the behavior of WordPress core, themes, and plugins.
    Give others a chance to expand upon your own code as they see fit.

    Presentation Slides »

  • Patrick Holberg Hesselberg: WP Plugin API (Hooks) samt real world examples

    Patrick Holberg Hesselberg: WP Plugin API (Hooks) samt real world examples

    WordCamp Denmark 2016Speaker: Patrick Holberg Hesselberg

    August 1, 2016 — I denne præsentation vil prøve at give en introduktion WP Plugin API’et, så andre kan begynde at lære at lave plugins. Ofte i WordPress ser man ofte løsningen med en child-theme, men der ville jeg i de fleste tilfælde hellere udvikle et lille plugin via. hooks.

    Jeg vil prøve kort at beskrive, hvordan jeg arbejder med API’et til dagligt, og eksempler fra den virkelige verden og fra virkelige kunder.

    Presentation Slides »

  • Robert Gillmer: Actions and Filters

    Robert Gillmer: Actions and Filters

    WordCamp Las Vegas 2015Speaker: Robert Gillmer

    February 20, 2016 — Hooks are one thing which intermediate programmers struggle with the most. Mastering actions and filters will elevate intermediate developers to advanced ones. However, much of the documentation about hooks are hard to understand, and the standard examples are insufficient. I’m a big fan of putting a different spin on lectures and using analogies which no one else has in order to make things more understandable. I explain the difference between the two by drawing a parallel to a shopping trip. Filters are when my wife calls me to ask me to pick something new up from the store I’m going to; actions are when she asks me to go to a completely different store. I then go into how to use hooks from a developer side – add_action and add_filter – as well as how to use them from a “builder” side – apply_filters and do_action.

  • Monika Thon-Soun: Actions und Hooks im Theme. Super, total falsch, notwendiges Übel…

    Monika Thon-Soun: Actions und Hooks im Theme. Super, total falsch, notwendiges Übel…

    WordCamp Berlin 2015Speaker: Monika Thon-Soun

    February 7, 2016 — Es gibt Standard Hooks/Actions in den Themes. Es gibt viele Themes, die sehr viele Hooks anbieten und es gibt immer noch eine Gruppierung, die diese Hooks verallgemeinern mag und es gibt WP-Theme EntwicklerInnen, die dies total ablehnen. Vor-Nachteile. Diskussionsgrundlage. Meinungsbildung.

    Presentation Slides »

  • Thomas Maier: Understanding and Using Hooks

    Thomas Maier: Understanding and Using Hooks

    WordCamp Berlin 2015Speaker: Thomas Maier

    February 7, 2016 — After this session you will share my believe that hooks are the reason that WordPress is the number one cms in the world. You will know how to use them in order to extend core, plugins and themes and learn some smart tricks which you can use when adding hooks to your own code.

    Content in details:

    * why bother with hooks?
    * where hooks are used
    * elements of hook routines
    * basic functions and attributes
    * how core itself uses hooks
    * debugging hooks

    Presentation Slides »

  • Frank Staude: Hooks, Filter, Actions – Was zum Geier ist das?

    Frank Staude: Hooks, Filter, Actions – Was zum Geier ist das?

    WordCamp Cologne 2015Speaker: Frank Staude

    February 1, 2016 — Nicht „Was die Welt im Innersten zusammenhält“, sondern was uns WordPress möglichst weit öffnet, das sind die Hooks. Egal ob Theme oder Plugin, um etwas in WordPress zu ändern, zu erweitern, umzubauen und das ohne dass man direkt im WordPress Code ändert, dazu muss man verstehen was Hooks sind und wie diese Funktionieren. Egal ob man ein komplexes Plugin bauen möchte oder nur in seinem verwendeten Theme z.B. den Titel der Beiträge manipulieren möchte.

  • Josh Pollock: Five Events In The Life Of Every WordPress Request You Should Know

    Josh Pollock: Five Events In The Life Of Every WordPress Request You Should Know

    WordCamp Orlando 2015Speaker: Josh Pollock

    January 19, 2016 — WordPress is a magical system that turns any URL into a web page, dynamically. In this talk, aimed at beginning wizards, looking to develop new WordPress powers, we’re going to take a look at five major events in the transformation of a request to your site, into a web page.

    This talk is for new plugin developers, or those looking to increase their skills in the art of custom site development. It is designed to show you where to look when you need to change WordPress’ behavior to fit your specific needs and increase your ability to make use of WordPress hooks.

    Presentation Slides »

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

    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

    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

    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 »