Developer Docs
Smart Add-Ons developer docs
Smart Add-Ons developer docs cover PHP hooks, REST API endpoints, custom field types, and template overrides — built for agencies and plugin developers.
What you can extend
Smart Add-Ons ships with a documented extension surface. Use it to register custom field types, change which groups appear on a product, override storefront templates, or integrate with headless / external systems via REST.
Hooks & Filters
Action and filter reference for registering field types, modifying groups, customizing HTML, and more.
REST API
28+ endpoints under saue/v1 — addon groups, price preview, uploads, A/B tests, AI, and licensing.
Custom field types
Implement FieldTypeInterface and register with saue_register_field_types. Covered in the hooks guide.
Quick start for developers
- Confirm Smart Add-Ons is active and licensed on a staging site.
- Add a small mu-plugin or theme
functions.phpsnippet usingsaue_register_field_typesorsaue_addon_groups_for_product. - For REST calls, authenticate with an Application Password for a user that has
manage_woocommerce. - Public storefront endpoints (
/price-preview,/addons/product/{id}) need no auth.
Namespaces & conventions
- PHP hooks are prefixed with
saue_. - REST namespace:
/wp-json/saue/v1. - Text domain:
saue. - Template override filter:
saue_locate_template.