Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Advanced WordPress: Action and Filter Hooks (2017)

via LinkedIn Learning

Overview

Take the next step in WordPress development. Learn how to work with action and filter hooks and use them to create WordPress plugins.

Hooks are key components of WordPress plugin development. There are two types: filters modify data and actions perform tasks. Gain a fundamental understanding of how these features work, and learn how to use the built-in action and filter hooks in WordPress to build your own plugins. In the first half of the course, instructor Carrie Dils reviews the plugin API and demonstrates the basics of actions and filters. Already familiar with these core concepts? Skip to chapter three, where she covers what you need to make your own hooks. Learn about load order and writing callback functions, and using third-party hooks. Last but not least, Carrie builds a demo plugin that shows practical real-world uses for actions and filters.

Syllabus

Introduction
  • Welcome
  • What you should know
  • Exercise files
1. Understanding Hooks and Filters
  • What is WordPress?
  • What is the Plugin API?
  • Action hooks explained
  • Filters explained
  • Priorities
  • Arguments
2. Hooks and Filters in Action
  • Customizing the WordPress login page
  • Adding a custom stylesheet
  • Filtering login error messages
  • Removing the login page shake
3. Working with Hooks and Filters
  • Finding references and documentation
  • Identifying available hooks and filters
  • A look at load order
  • Understanding callback functions
  • Using apply_filters
  • WP_Hook vs. $wp_filter
4. Working with Non-WordPress Hooks
  • Adding custom hooks
  • Inside themes and plugins with hooks
  • Tips for using third-party hooks
5. Building a Demo Plugin
  • A look at what you're building
  • Setting up the folder and file structure
  • Registering a sidebar
  • Displaying a sidebar on single posts
  • Applying filters for loading stylesheets
  • Putting it all together
Conclusion
  • Stay up to date with WordPress development
  • Next steps

Taught by

Carrie Dils

Related Courses

Reviews

Start your review of Advanced WordPress: Action and Filter Hooks (2017)

Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free