Skip to content

Developers: filters and actions

Hooks for the Smart Form, schema output, timelines and the Elements Manager.

On this page
  1. Smart Form filters
  2. Smart Form action
  3. Other filters
  4. Block names

Smart Form filters

Filter Use
rawnaq_smart_form_rate_limit Change the rate limits (per form and per site).
rawnaq_smart_form_rate_limit_fail_max Change how many failed validations are allowed.
rawnaq_smart_form_client_ip Change how the visitor IP is read, for example behind a proxy.
rawnaq_smart_form_recaptcha_min_score Change the minimum reCAPTCHA score.
rawnaq_smart_form_allowed_mimes, rawnaq_smart_form_max_attachments_size Control accepted upload types and total size.
rawnaq_smart_form_allowed_webhook_hosts Allow specific webhook hosts.
rawnaq_smart_form_email_html, rawnaq_smart_form_autoresponder_html Change the email markup.
rawnaq_smart_form_entries_cap Change who may manage entries.

Smart Form action

rawnaq_smart_form_submission runs when a submission is received.

Other filters

  • rawnaq_default_modules and rawnaq_module_definitions: add modules to the Elements Manager (Pro uses this).
  • rawnaq_pro_active: change whether Pro counts as active.
  • rawnaq_spt_ssr_enabled and rawnaq_spt_wpm: turn the server-side table of contents on or off, and set the reading speed.
  • rawnaq_timeline_presets, rawnaq_timeline_steps, rawnaq_bento_presets, rawnaq_flow_user_nodes: change presets and data.
  • rawnaq_enable_schema, rawnaq_schema_case_studies, rawnaq_schema_reviews, rawnaq_schema_timeline: control structured data output.

Block names

Blocks use the rawnaq/ prefix, for example rawnaq/smart-form, and Pro blocks use rawnaq-pro/, for example rawnaq-pro/get-quote.

Find your product