Fieldwren 1.0.0 has 46 actions and 134 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Fieldwren fires an action
add_action( 'fwrene_loaded', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Fieldwren is about to use
add_filter( 'fwrene_merge_tag_value', function( $value, $tag, $ctx ) {
// Change $value here.
return $value;
}, 10, 3 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * This filter is documented below. */ apply_filters( 'fwrene_merge_tag_value', null, $tag, $ctx ); -
/** * Filters the register_block_type() args of a Fieldwren block (modules use it * for nesting: parent, allowed_blocks, provides_context, skip_inner_blocks * …). */ apply_filters( 'fwren_bc/block_type_args', $args, $block, $name ); -
/** * Whether the bundled Container block is registered. */ apply_filters( 'fwren_bc/bundled_blocks', true ); -
/** * Filter the data the editor script reads from window.fwrenBC (e.g. a host * editor that hides the Global Kit by emptying 'kit'). */ apply_filters( 'fwren_bc/editor_data', [ 'blocks' => $schema, 'fonts' => Fonts::get_options(), 'kit' => Kit::instance()->get_public(), 'breakpoints' => CSS_Generator::breakpoints(), 'iconLibraries' => self::get_icon_libraries(), ] ); -
/** * A host that bundles the framework without a site-wide kit (no admin page, * REST routes or global.css) returns false. The data API (get(), * rename_vars()) keeps working on the defaults. */ apply_filters( 'fwren_bc/kit_enabled', true ); -
/** * Add or change shapes: [ key => [ 'title', 'image', 'path', 'has_flip', * 'has_negative', 'height_only' ] ]. 'path' is the absolute SVG path; * '-negative' is appended for the inverted variant. */ apply_filters( 'fwren_bc/shapes', $native ); -
/** * Filter block schemas. */ apply_filters( 'fwrene_block_schemas', self::lib_schemas() ); -
/** * Filter the list of block directories. */ apply_filters( 'fwrene_blocks_dirs', $dirs ? $dirs : array() ); -
/** * Filter built-in presets. */ apply_filters( 'fwrene_builtin_presets', $out ); -
/** * Filter condition types. */ apply_filters( 'fwrene_condition_types', $types ); -
/** * Filter whether a conditional block shows its content. */ apply_filters( 'fwrene_conditional_visible', $show, $clean, $match, $ctx ); -
/** * Filter the text used when the customer has no first name. */ apply_filters( 'fwrene_customer_first_name_fallback', __( 'Customer', 'fieldwren' ), $this ); -
/** * Filter the editor options payload. */ apply_filters( 'fwrene_editor_options', $data ); -
/** * Short-circuit evaluation of a rule type. */ apply_filters( "fwrene_evaluate_rule_{$type}", null, $rule, $ctx ); -
/** * Filter available fonts. */ apply_filters( 'fwrene_fonts', $fonts ); -
/** * Fires after the plugin is fully loaded. */ do_action( 'fwrene_loaded' ); -
/** * Filter the merge tag registry. */ apply_filters( 'fwrene_merge_tags', $tags ); -
/** * Filter the rendered document. */ apply_filters( 'fwrene_rendered_html', $html, $template_id, $ctx ); -
/** * Filter the resolved template id. */ apply_filters( 'fwrene_resolved_template', $found, $ctx ); -
/** * Filter template content before rendering. */ apply_filters( 'fwrene_template_content', $content, $ctx ); -
/** * This filter is documented in wp-includes/blocks.php */ apply_filters( 'pre_render_block', null, $inner_block->parsed_block, $parent_block ); -
/** * This filter is documented in wp-includes/blocks.php */ apply_filters( 'render_block_context', $inner_block->context, $inner_block->parsed_block, $parent_block ); -
/** * This filter is documented in wp-includes/blocks.php */ apply_filters( 'render_block_data', $inner_block->parsed_block, $source_block, $parent_block ); -
do_action( 'fwren_bc/page_templates/full_width/after_content' ); -
do_action( 'fwren_bc/page_templates/full_width/before_content' ); -
apply_filters( 'fwren_bc/query_args', $args, $settings, $prefix, $context ); -
apply_filters( 'fwren/admin/global_tabs', array() ); -
apply_filters( 'fwren/confirmation_extra', '', $form_id, $values, $entry ); -
do_action( 'fwren/feed_failed', $feed, $entry, $res ); -
do_action( 'fwren/submission/gated', $row, $values, $status, $payment ); -
apply_filters( 'fwren_bc/attribute_type', 'string', $type ); -
apply_filters( 'fwren_bc/block_css', $css, $block, $settings ); -
do_action( 'fwren_bc/block/controls_registered', $this ); -
apply_filters( 'fwren_bc/breakpoints', self::BREAKPOINTS, $block ); -
apply_filters( 'fwren_bc/container_animations', [ 'Fading' => [ 'fadeIn' => 'Fade In', 'fadeInDown' => 'Fade In Down', 'fadeInLeft' => 'Fade In Left', 'fadeInRight' => 'Fade In Right', 'fadeInUp' => 'Fade In Up', ], 'Zooming' => [ 'zoomIn' => 'Zoom In', 'zoomInDown' => 'Zoom In Down', 'zoomInLeft' => 'Zoom In Left', 'zoomInRight' => 'Zoom In Right', 'zoomInUp' => 'Zoom In Up', ], 'Bouncing' => [ 'bounceIn' => 'Bounce In', 'bounceInDown' => '... ); -
apply_filters( 'fwren_bc/container_defaults', $defaults ); -
apply_filters( 'fwren_bc/fonts', self::$index ); -
apply_filters( 'fwren_bc/global_typography', true, $this ); -
apply_filters( "fwren_bc/group_control/{$type}", [], $args ); -
apply_filters( 'fwren_bc/icon_libraries', $libraries ); -
apply_filters( 'fwren_bc/kit_css', $css, $kit ); -
do_action( 'fwren_bc/kit_saved', $this->kit ); -
apply_filters( 'fwren_bc/local_google_fonts', true ); -
apply_filters( 'fwren_bc/modules', [ 'editor-overlay', 'page-templates', 'nested-elements' ] ); -
apply_filters( 'fwren_bc/page_templates', [ self::CANVAS => [ 'label' => __( 'Fieldwren Canvas', 'fieldwren' ), 'file' => 'canvas.php', 'body_class' => 'fwrenbc-template-canvas', ], self::FULL_WIDTH => [ 'label' => __( 'Fieldwren Full Width', 'fieldwren' ), 'file' => 'full-width.php', 'body_class' => 'fwrenbc-template-full-width', ], ] ); -
do_action( 'fwren_bc/page_templates/canvas/after_content' ); -
do_action( 'fwren_bc/page_templates/canvas/before_content' ); -
apply_filters( 'fwren_bc/page_templates/post_types', $post_types ); -
apply_filters( 'fwren_bc/page_templates/template_path', $path, $file ); -
apply_filters( "fwren_bc/query_options/{$kind}", [], $request ); -
do_action( 'fwren_bc/register_blocks', $this ); -
do_action( 'fwren/admin_approval/approved', $entry ); -
do_action( 'fwren/admin_approval/declined', $entry ); -
apply_filters( 'fwren/admin_approval/reviewer_email', $n, $entry, $values ); -
do_action( 'fwren/admin/entry_actions', $e ); -
apply_filters( 'fwren/admin/entry_bulk_actions', $a, $status ); -
do_action( "fwren/admin/entry_bulk/{$action}", $ids ); -
apply_filters( 'fwren/admin/entry_notices', array( 'optin_sent' => array( 'success', __( 'Confirmation email sent.', 'fieldwren' ) ), 'optin_failed' => array( 'error', __( 'The confirmation email could not be sent.', 'fieldwren' ) ), 'entry_approved' => array( 'success', __( 'Entry approved.', 'fieldwren' ) ), 'entry_declined' => array( 'warning', __( 'Entry declined.', 'fieldwren' ) ), 'entry_review_failed' => array( 'error', __( 'The e... ); -
do_action( 'fwren/admin/entry_sidebar', $e ); -
apply_filters( 'fwren/admin/form_tab_has_save', true, $tab ); -
apply_filters( 'fwren/admin/form_tab_meta', array( 'general' => array( 'basics', 'gear', __( 'How the form submits, what is stored and how multi-step forms behave.', 'fieldwren' ) ), 'confirmations' => array( 'basics', 'yes-alt', __( 'What people see after they submit.', 'fieldwren' ) ), 'notifications' => array( 'basics', 'mail', __( 'Emails sent when someone submits this form.', 'fieldwren' ), __( 'Notifications', 'fieldwren' ) ), 'res... ); -
do_action( "fwren/admin/form_tab_save/{$tab}", $form_id, $_POST ); -
apply_filters( 'fwren/admin/form_tab_state', array( 'confirmations' => $count( $s['conditional_confirmations'] ?? array(), true ), 'notifications' => $count( $s['notifications'] ?? array() ), 'restrictions' => $limits, 'double_optin' => $on( 'double_optin' ), 'admin_approval' => $on( 'admin_approval' ), 'save_resume' => $on( 'save_resume' ), 'quiz' => $on( 'quiz' ), 'landing' => $on( 'landing' ), 'style' => '' !== trim( (string) ( $s['lay... ); -
do_action( "fwren/admin/form_tab/{$tab}", $form_id, $s ); -
apply_filters( 'fwren/admin/form_tabs', array( 'general' => __( 'General', 'fieldwren' ), 'confirmations' => __( 'Confirmations', 'fieldwren' ), 'notifications' => __( 'Email Notifications', 'fieldwren' ), 'restrictions' => __( 'Restrictions', 'fieldwren' ), 'spam' => __( 'Spam Protection', 'fieldwren' ), 'style' => __( 'Custom CSS & JS', 'fieldwren' ), ), $form_id ); -
apply_filters( 'fwren/admin/global_tab_has_save', true, $tab ); -
do_action( "fwren/admin/global_tab_save/{$tab}", $_POST ); -
do_action( "fwren/admin/global_tab/{$tab}" ); -
apply_filters( 'fwren/allowed_form_blocks', array_values( array_merge( $form_blocks, array( 'core/paragraph', 'core/heading', 'core/image', 'core/list', 'core/list-item', 'core/separator', 'core/spacer' ) ) ) ); -
apply_filters( 'fwren/async_feeds', (bool) Settings::get( 'async_feeds' ), $form_id ); -
apply_filters( 'fwren/availability', true, $form_id, $s ); -
do_action( 'fwren/before_render', $form_id, $settings, $schema ); -
apply_filters( 'fwren/captcha_fail_open', false, $res ); -
apply_filters( 'fwren/countries', $names ); -
apply_filters( 'fwren/curated_kit', $kit ); -
do_action( 'fwren/daily' ); -
apply_filters( 'fwren/default_template', array( array( 'fwren/name', array( 'label' => __( 'Name', 'fieldwren' ), 'name' => 'names', 'required' => 'yes' ) ), array( 'fwren/email', array( 'label' => __( 'Email', 'fieldwren' ), 'name' => 'email', 'required' => 'yes' ) ), array( 'fwren/textarea', array( 'label' => __( 'Message', 'fieldwren' ), 'name' => 'message' ) ), array( 'fwren/submit', array() ), ) ); -
apply_filters( 'fwren/defer_css', true, $handle ); -
apply_filters( 'fwren/disposable_domains', array( 'mailinator.com', 'guerrillamail.com', 'guerrillamail.net', 'sharklasers.com', 'grr.la', '10minutemail.com', '10minutemail.net', 'tempmail.com', 'temp-mail.org', 'tempmailo.com', 'yopmail.com', 'yopmail.net', 'trashmail.com', 'trashmail.de', 'getnada.com', 'nada.email', 'dispostable.com', 'maildrop.cc', 'mailnesia.com', 'mintemail.com', 'throwawaymail.com', 'fakeinbox.com', 'emailondeck.... ); -
do_action( 'fwren/double_optin/confirmed', $entry ); -
apply_filters( 'fwren/double_optin/email', $n, $entry, $values ); -
do_action( 'fwren/drafts/partial_created', $id, $row, $values ); -
apply_filters( 'fwren/drafts/rate_limit', 60, $form_id ); -
apply_filters( 'fwren/drafts/response', $out, $form_id, $hash, $partial ); -
apply_filters( 'fwren/email_wrap', null, $body, $subject, $form_id ); -
do_action( 'fwren/entries/bulk_action', $action, $ids ); -
apply_filters( 'fwren/entries/bulk_actions', $a ); -
apply_filters( 'fwren/entry_data', $entry, $values, $form_id, $schema ); -
do_action( 'fwren/entry_deleted', $id, $e ); -
apply_filters( 'fwren/entry_status', $status, $form_id, $values ); -
do_action( 'fwren/entry_updated', $id, $data ); -
apply_filters( "fwren/feed/{$integration}", null, $feed, $entry, $values ); -
apply_filters( "fwren/feed/{$slug}", null, $feed, $entry, $values ); -
apply_filters( 'fwren/field_options', $opts, $s, $this ); -
apply_filters( 'fwren/fluentcrm/contact_data', $data, $feed, $entry, $values ); -
apply_filters( 'fwren/form_defaults', array( 'confirmation' => array( 'type' => 'message', 'message' => __( 'Thank you! Your submission has been received.', 'fieldwren' ), 'page_id' => 0, 'url' => '', 'new_tab' => false, 'hide_form' => true, 'reset_form' => true, ), 'conditional_confirmations' => array(), 'notifications' => array( array( 'id' => 'admin', 'enabled' => true, 'name' => __( 'Admin notification', 'fieldwren' ), 'to_type... ); -
do_action( "fwren/form_hook/{$hook}", Renderer::current_form_id() ); -
apply_filters( 'fwren/form_html', $html, $form_id ); -
apply_filters( 'fwren/form_settings', $s, $form_id ); -
apply_filters( 'fwren/front_entries/html', $h . '</div>', $form_id, $rows, $a ); -
apply_filters( 'fwren/front_entries/view_html', $html, $entry ); -
apply_filters( 'fwren/frontend_config', $config, $form_id, $settings, $schema ); -
apply_filters( 'fwren/global_defaults', array( 'captcha' => 'none', 'recaptcha_v2' => array( 'site' => '', 'secret' => '' ), 'recaptcha_v3' => array( 'site' => '', 'secret' => '', 'threshold' => 0.5 ), 'hcaptcha' => array( 'site' => '', 'secret' => '' ), 'turnstile' => array( 'site' => '', 'secret' => '', 'theme' => 'auto' ), 'akismet' => false, 'trust_proxy' => true, 'async_feeds' => false, 'google_maps_key' => '', 'email' => array(... ); -
apply_filters( 'fwren/google_drive/max_bytes', 100 * 1024 * 1024 ); -
apply_filters( 'fwren/icons', $p ); -
do_action( 'fwren/importer/ff_form', $existing, $ff_id, $rep ); -
do_action( 'fwren/install', $c ); -
apply_filters( 'fwren/integration/request', $req, $url, $this->slug() ); -
apply_filters( 'fwren/integrations', array( 'Webhook', 'Zapier', 'Make', 'N8n', 'Slack', 'Discord', 'Telegram', 'Teams', 'Twilio', 'Twilio_Whatsapp', 'Mailchimp', 'Brevo', 'Mailerlite', 'Kit', 'Activecampaign', 'Getresponse', 'Campaign_Monitor', 'Moosend', 'Klaviyo', 'Drip', 'Hubspot', 'Pipedrive', 'Zoho_Crm', 'Salesforce', 'Odoo', 'Google_Sheets', 'Airtable', 'Notion', 'Trello', 'Clickup', 'Asana', 'Wp_Hook', 'Google_Drive', 'Dro... ); -
apply_filters( 'fwren/integrations/capability', 'fwren_manage_settings' ); -
apply_filters( 'fwren/integrations/failed_email_throttle', 10 * MINUTE_IN_SECONDS ); -
apply_filters( 'fwren/landing_slug', 'form' ); -
do_action( 'fwren/loaded', $this ); -
apply_filters( 'fwren/modules', array( 'double_optin' => '\FWREN\Modules\Double_Optin', 'admin_approval' => '\FWREN\Modules\Admin_Approval', 'drafts' => '\FWREN\Modules\Drafts', 'quiz' => '\FWREN\Modules\Quiz', 'inventory' => '\FWREN\Modules\Inventory', 'landing_page' => '\FWREN\Modules\Landing_Page', 'front_entries' => '\FWREN\Modules\Front_Entries', 'post_creation' => '\FWREN\Modules\Post_Creation', 'user_registration' => '... ); -
apply_filters( 'fwren/notification', compact( 'to', 'subject', 'html', 'headers', 'attachments' ), $n, $entry, $values ); -
apply_filters( 'fwren/odoo/lead_values', $vals, $feed, $entry, $values ); -
apply_filters( 'fwren/payments/currencies', array( 'USD' => __( 'US Dollar', 'fieldwren' ), 'EUR' => __( 'Euro', 'fieldwren' ), 'GBP' => __( 'Pound Sterling', 'fieldwren' ), 'AUD' => __( 'Australian Dollar', 'fieldwren' ), 'CAD' => __( 'Canadian Dollar', 'fieldwren' ), 'NZD' => __( 'New Zealand Dollar', 'fieldwren' ), 'CHF' => __( 'Swiss Franc', 'fieldwren' ), 'SEK' => __( 'Swedish Krona', 'fieldwren' ), 'NOK' => __( 'Norwegian Krone', '... ); -
do_action( 'fwren/payments/failed', self::get( $txn['id'] ), $reason ); -
apply_filters( 'fwren/payments/form_gateways', $out, $form_id ); -
apply_filters( 'fwren/payments/gateways', $list ); -
apply_filters( 'fwren/payments/mollie/payment_body', $body, $txn, $order, $ctx ); -
apply_filters( 'fwren/payments/order', $order, $form_id, $values, $schema ); -
do_action( 'fwren/payments/paid', $txn ); -
apply_filters( 'fwren/payments/paypal/order_body', $body, $txn, $order, $ctx ); -
apply_filters( 'fwren/payments/paystack/init_body', $body, $txn, $order, $ctx ); -
apply_filters( 'fwren/payments/razorpay/link_body', $body, $txn, $order, $ctx ); -
apply_filters( 'fwren/payments/receipt_html', $h, $txn, $items ); -
do_action( 'fwren/payments/refunded', self::get( $txn['id'] ), $total ); -
do_action( 'fwren/payments/renewal', self::get_sub( $sub['id'] ), self::get( $id ) ); -
apply_filters( 'fwren/payments/square/link_body', $body, $txn, $order, $ctx ); -
apply_filters( 'fwren/payments/start_result', $out, $txn, $order ); -
do_action( 'fwren/payments/status_changed', self::get( $txn['id'] ), $status, $txn['status'] ); -
apply_filters( 'fwren/payments/stripe/intent_params', $params, $txn, $order, $ctx ); -
apply_filters( 'fwren/payments/stripe/session_params', $params, $txn, $order, $ctx ); -
do_action( 'fwren/payments/subscription_status', self::get_sub( $id ), $data['status'] ); -
apply_filters( 'fwren/popups/config', $config, $post, $s ); -
apply_filters( 'fwren/popups/default_template', array( array( Fields::CONTAINER, array( 'content_width' => 'full' ), array( array( 'core/heading', array( 'level' => 2, 'content' => __( 'Get fresh ideas in your inbox', 'fieldwren' ) ) ), array( 'core/paragraph', array( 'content' => __( 'One short email a week. No spam, unsubscribe any time.', 'fieldwren' ) ) ), array( 'fwren/form', array() ), array( Close_Block::NAME, array( 'text' => __( 'No... ); -
apply_filters( 'fwren/popups/designs', $t ); -
apply_filters( 'fwren/popups/for_request', self::$popups ); -
apply_filters( 'fwren/popups/html', $html, $post, $s ); -
apply_filters( 'fwren/popups/skip_request', false ); -
apply_filters( 'fwren/post_creation/postarr', $post, $feed, $entry, $values ); -
do_action( 'fwren/post_creation/saved', (int) $res, $feed, $entry, $values ); -
apply_filters( 'fwren/prefill', isset( $args['prefill'] ) ? (array) $args['prefill'] : array(), $form_id ); -
apply_filters( 'fwren/quiz/result', $out, $form_id, $values ); -
do_action( 'fwren/register_fields', new class() { public function add( $f ) { Fields::add( $f ); } } ); -
apply_filters( 'fwren/schema', $schema, $form_id ); -
apply_filters( 'fwren/smartcode', null, $group, $key, $values, $entry, $form_id, $mode ); -
apply_filters( 'fwren/smartcodes', array( __( 'Fields', 'fieldwren' ) => $inputs, __( 'Entry', 'fieldwren' ) => array( '{all_data}' => __( 'All submitted data (table)', 'fieldwren' ), '{all_data_text}' => __( 'All submitted data (plain text)', 'fieldwren' ), '{form_title}' => __( 'Form title', 'fieldwren' ), '{form_id}' => __( 'Form ID', 'fieldwren' ), '{entry.id}' => __( 'Entry ID', 'fieldwren' ), '{entry.serial}' => __( 'Entry... ); -
do_action( 'fwren/smtp/configured', $phpmailer, $c ); -
apply_filters( 'fwren/smtp/providers', $p ); -
apply_filters( 'fwren/smtp/timeout', 20 ); -
apply_filters( 'fwren/smtp/use', true, $phpmailer, $c ); -
apply_filters( 'fwren/spam_check', true, $form_id, $data ); -
do_action( 'fwren/submission/actions', $entry, $values, $form_id ); -
do_action( 'fwren/submission/completed', $entry, $event ); -
do_action( 'fwren/submission/inserted', $entry_id, $values, $form_id, $row, $data ); -
apply_filters( 'fwren/submission/payment', null, $entry_id, $values, $form_id, $schema, $data ); -
apply_filters( 'fwren/submission/result', $result, $row, $values ); -
apply_filters( 'fwren/templates', $t ); -
apply_filters( 'fwren/tracking_config', (array) Settings::get( 'tracking', array( 'datalayer' => true ) ), $form_id ); -
apply_filters( 'fwren/twilio/default_prefix', '+', $d ); -
apply_filters( 'fwren/user_registration/allow_admin_roles', false, $form_id ); -
do_action( 'fwren/user_registration/registered', $uid, $entry, $values, $form_id ); -
apply_filters( 'fwren/user_registration/update_userdata', $data, $entry, $values, $form_id ); -
do_action( 'fwren/user_registration/updated', $uid, $entry, $values, $form_id ); -
apply_filters( 'fwren/user_registration/userdata', $data, $entry, $values, $form_id ); -
apply_filters( 'fwren/validate', $errors, $values, $form_id, $schema, $data ); -
apply_filters( 'fwren/values', $values, $form_id, $schema, $data ); -
apply_filters( 'fwren/webhook/payload', $data, $this->ctx['feed'], $this->ctx['entry'], $this->ctx['values'] ); -
apply_filters( 'fwren/zoho/require_company', false ); -
do_action( 'fwrene_before_render', $tid, $ctx ); -
apply_filters( 'fwrene_form_email_designs', $designs ); -
apply_filters( 'fwrene_form_email_layouts', $out ); -
apply_filters( 'fwrene_form_emails', $list ); -
apply_filters( 'illegal_user_logins', array() ); -
apply_filters( 'script_loader_src', $src, $h ); -
do_action( 'wp_login', $user->user_login, $user );
Generated from Fieldwren's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: