For developers
Quotanto filters, actions, order statuses and WordPress Abilities.
Filters
quotanto_product_supported- Whether a product takes quote requests.
quotanto_auto_insert- Return false to place the button yourself.
quotanto_expiry_days- Days a quote stays open.
quotanto_validate_request- Return a WP_Error to refuse a request. The code
quotanto_captchashows the captcha message. quotanto_quote_cart- Return false to keep quote-only products out of the cart.
quotanto_min_seconds- Seconds a visitor must have had the form before it can be posted. 3 by default.
quotanto_rate_limit_ip- The IP address the hourly request limit counts. WooCommerce's visitor IP by default.
quotanto_captcha_provider- Pick the captcha:
turnstile,hcaptcha,friendly,bwsorrcfwc. An empty string means none.
Actions
quotanto_form_fields- Print a field inside the form, before the button.
quotanto_request_created- A request was saved.
quotanto_quote_sent- A quote was sent.
quotanto_quote_accepted- A quote was paid.
Order statuses
wc-qtnt-requested- Quote requested.
wc-qtnt-quoted- Quote sent.
wc-qtnt-accepted- Quote accepted.
wc-qtnt-expired- Quote expired.
Abilities for AI agents
quotanto/list-quotes and quotanto/send-quote are WordPress Abilities, for users who can edit orders.