WooCommerce Developer Reference
This independent reference covers WooCommerce APIs used in themes and plugins. Start with the available hook and conditional-tag references to find the right function, its execution context, and examples of how to use it.
Available references
- Hooks and Filters covers 14 actions and filters for product pages, shop archives, carts, checkout, shipping, payments, and orders. Each entry includes a PHP example and relevant compatibility notes.
- Conditional Tags explains six functions for identifying WooCommerce page contexts, including when those checks can safely run.
Working with WooCommerce APIs
Actions execute callbacks at particular points in a request, while filters pass values through callbacks that must return a result. Conditional tags such as is_product() help you check the current page before running code. See the official WordPress hooks documentation for the underlying API.
Template hooks may behave differently in classic PHP templates and block-based WooCommerce pages. Each reference identifies the relevant context rather than assuming universal compatibility. For HoverCraft's own store layouts and settings, see the separate theme documentation.