Developer reference
The plugin is built to be extended. Every tier gate and every data point passes through a filter or action prefixed apfw_.
Useful hooks
| Hook | Purpose |
|---|---|
apfw_product_query_args |
Adjust the WP_Query arguments used to select products. |
apfw_include_product |
Final say on whether a product enters a feed. |
apfw_resolve_value |
Resolve custom mapping source types. |
apfw_register_channels, apfw_register_formats |
Add channels and output writers. |
apfw_feed_generated, apfw_feed_generation_failed |
React to finished or failed runs (notifications, cache purges). |
apfw_generation_step_budget |
Seconds of work per background step. |
apfw_csv_escape_formulas |
Disable the spreadsheet formula guard. |
REST API
Namespace apfw/v1: feeds CRUD, generate, generate/start, generate/step, generate/progress, import/export, reference data (categories, attributes, taxonomy search) and settings, all requiring the manage_woocommerce capability.