woo-hooks-filters

Installation
SKILL.md

WooCommerce Hooks & Filters

Before writing code

Fetch live docs:

  1. Fetch https://developer.wordpress.org/plugins/hooks/ for WordPress Hooks fundamentals
  2. Web-search site:developer.woocommerce.com hooks for WooCommerce-specific hooks
  3. Web-search woocommerce action filter reference for comprehensive hook listings

How Hooks Work

Actions

Fire at specific points in execution — used for side effects (sending emails, writing logs, rendering HTML):

  • do_action( 'hook_name', $arg1, $arg2 ) — fires the action
  • add_action( 'hook_name', 'callback', $priority, $accepted_args ) — registers a listener
  • remove_action( 'hook_name', 'callback', $priority ) — unregisters a listener
  • Lower $priority = runs earlier (default 10)
Related skills
Installs
2
GitHub Stars
29
First Seen
Mar 31, 2026