Introduction ↑ Back to Top
Hooks are provided by WordPress and WooCommerce to allow your plugin or theme to ‘hook into’ the code; that is, to call functions in your plugin at specific times, and thereby set your plugin in motion. There are two kinds of hooks:
- Actions: Actions are the hooks that the WordPress core launches at specific points during execution, or when specific events occur.
- Filters: Filters are the hooks that WordPress launches to modify text of various types before adding it to the database or sending it to the browser screen.
For a more in depth introduction to Hooks and Filters see:
API Documentation ↑ Back to Top
For a comprehensive view of the WooCommerce API, see the API Documentation.
Hooks and Filters ↑ Back to Top
For details on what the hooks and filters do, reference the WooCommerce Hooks Reference.