SlideShare a Scribd company logo
Confidential Customized for Lorem Ipsum LLC Version 1.0
Jonathan Bossenger
WordPress Filter Hooks
Learn.WordPress.org
What you will learn
What are hooks?
The two types of hooks, actions and filters?
How to use filters.
Filter hook priority.
Filter hook arguments.
Filter hook order.
What are hooks?
Hooks allow your theme or plugin code to interact with or modify the
execution of a WordPress request at specific, predefined spots.
Two types of hooks
1 Action hooks (or actions) allow you to perform an action at a
specific point in the request execution.
2 Filter hooks (or filters) allow you to modify (or filter) some data
at a specific point in the request execution.
Filter hooks
Filters allow you to modify, or filter, some data at a specific point, which will
be used later on.
https://developer.wordpress.org/plugins/hooks/filters/
Hook Order
WordPress Filter Reference
https://codex.wordpress.org/Plugin_API/Filter_Reference
Confidential Customized for Lorem Ipsum LLC Version 1.0
WordPress Filter Hooks
Learn.WordPress.org

More Related Content

PPTX
New WordPress Developer APIs The Interactivity API
PPTX
The WordPress HTML API
PPTX
The WordPress Create Block tool
PPTX
PHP compatibility testing with PHPCompatibilityWP
PPTX
Common WordPress APIs_ Settings API
PPTX
Common WordPress APIs - Options API
PPTX
Common WordPress APIs_ HTTP API.pptx
PPTX
Common WordPress APIs: Metadata
New WordPress Developer APIs The Interactivity API
The WordPress HTML API
The WordPress Create Block tool
PHP compatibility testing with PHPCompatibilityWP
Common WordPress APIs_ Settings API
Common WordPress APIs - Options API
Common WordPress APIs_ HTTP API.pptx
Common WordPress APIs: Metadata

More from Jonathan Bossenger (20)

PPTX
What’s new for developers_ (August 2023).pptx
PPTX
Testing your plugins for PHP version compatibility
PPTX
Common WordPress APIs_ Global Variables
PPTX
Common WordPress APIs_ Internationalization
PPTX
Testing WordPress 6.3 - Developer edition
PPTX
Common WordPress APIs: Responsive Images
PPTX
Common WordPress APIs - Dashboard Widgets
PPTX
Custom Tables in WordPress
PPTX
The WordPress Database
PPTX
WordPress Coding Standards
PPTX
Managing a WordPress Multisite Network
PPTX
Debugging in WordPress
PPTX
Testing plugins for PHP 8
PPTX
Introduction to WordPress Multisite Networks
PPTX
Developing for multisite
PPTX
Custom Post Types and Capabilities.pptx
PPTX
Developing WordPress User Roles and Capabilities
PPTX
Let's code: WordPress multisite experiments
PPTX
Creating a WordPress multisite network
PPTX
Extending WordPress: common security vulnerabilities
What’s new for developers_ (August 2023).pptx
Testing your plugins for PHP version compatibility
Common WordPress APIs_ Global Variables
Common WordPress APIs_ Internationalization
Testing WordPress 6.3 - Developer edition
Common WordPress APIs: Responsive Images
Common WordPress APIs - Dashboard Widgets
Custom Tables in WordPress
The WordPress Database
WordPress Coding Standards
Managing a WordPress Multisite Network
Debugging in WordPress
Testing plugins for PHP 8
Introduction to WordPress Multisite Networks
Developing for multisite
Custom Post Types and Capabilities.pptx
Developing WordPress User Roles and Capabilities
Let's code: WordPress multisite experiments
Creating a WordPress multisite network
Extending WordPress: common security vulnerabilities
Ad

WordPress Filter Hooks

  • 1. Confidential Customized for Lorem Ipsum LLC Version 1.0 Jonathan Bossenger WordPress Filter Hooks Learn.WordPress.org
  • 2. What you will learn What are hooks? The two types of hooks, actions and filters? How to use filters. Filter hook priority. Filter hook arguments. Filter hook order.
  • 3. What are hooks? Hooks allow your theme or plugin code to interact with or modify the execution of a WordPress request at specific, predefined spots.
  • 4. Two types of hooks 1 Action hooks (or actions) allow you to perform an action at a specific point in the request execution. 2 Filter hooks (or filters) allow you to modify (or filter) some data at a specific point in the request execution.
  • 5. Filter hooks Filters allow you to modify, or filter, some data at a specific point, which will be used later on. https://developer.wordpress.org/plugins/hooks/filters/
  • 6. Hook Order WordPress Filter Reference https://codex.wordpress.org/Plugin_API/Filter_Reference
  • 7. Confidential Customized for Lorem Ipsum LLC Version 1.0 WordPress Filter Hooks Learn.WordPress.org