What developers can build on: hooks, shortcodes, blocks, REST routes and WP-CLI commands, taken from each plugin’s own readme and from what this site has registered.
DoctorX Free Sample Requests
- Shortcodes:
[drx_samples_form]
Can a developer supply the swatches?
Yes. The drx_samples_fabrics filter receives the list from Media → Swatches; return your own list of items with id, name and optionally collection, color (#rrggbb), image_id or image_url. The drx_samples_shop_email and drx_samples_customer_email filters change the emails, and the drx_samples_request_received action runs after each request is saved.