Bit Form 3.5.0 has 43 actions and 98 filters, read directly from its source code on Nov 17, 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 Bit Form fires an action
add_action( 'bitform_admin_form_changed', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Bit Form is about to use
add_filter( 'bitform_filter_allow_translation', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );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
-
/** * Filters whether Bit Form loads its bundled translations at all. */ apply_filters( 'bitform_filter_allow_translation', true ); -
bitforms_allowed_html_tags
filter/** * Filter the form-output allowlist. */ apply_filters( 'bitforms_allowed_html_tags', $base, null ); -
/** * Pro appends notes and payment events here. Free never reads Pro's tables. */ apply_filters( 'bitform_entry_timeline_events', $events, $formId, $entryId ); -
bitform_field_config_paths
filter/** * Allow add-on plugins to extend field config mappings. */ apply_filters( 'bitform_field_config_paths', $configs ); -
/** * Allow pro add-ons to extend/override mapping per field type. */ apply_filters( 'bitform_field_validation_script_file_mapping', $mapping, $fieldType ); -
/** * Final say on who this notification goes to. */ apply_filters( 'bitform_filter_mail_recipients', $mailTo, [ 'form_id' => $formID, 'entry_id' => $entryID, 'template' => $mailTemplate[0], 'is_double_optin' => (bool) $isDblOptin, ] ); -
/** * Add-ons can inject required script files here. */ apply_filters( 'bitform_form_abandonment_script_files', [], $this->_formContents, $this->_fields ); -
bitform_frontend_smarttags
filter/** * Escape hatch: a site that genuinely needs an extra tag client-side can opt * it back in explicitly here, rather than core shipping everything by default. */ apply_filters( 'bitform_frontend_smarttags', $frontendSmartTags, $formID, $referenced ); -
bitform_prevent_entry_trash
filter/** * Last chance to stop entries being trashed. */ apply_filters( 'bitform_prevent_entry_trash', false, $formId, $entryIds ); -
/** * Allow add-on plugins (e.g. Pro) to register additional script files without * shipping those files/paths in the wp.org (free) package. */ apply_filters( 'bitform_script_file_priority_list', $files ); -
bitform_smarttag_definitions
filter/** * Allow add-ons (e.g. Bit Form Pro) to register additional smart tags without * hardcoding them in core. Each definition must follow the structure above. */ apply_filters( 'bitform_smarttag_definitions', $defs ); -
/** * Allow add-ons to handle any restriction key (Pro-only restrictions should be * implemented in the add-on, not shipped in the free plugin). */ apply_filters( 'bitform_submission_restriction', null, $restrictionKey, $this->formId, $fromRestrictionSetitingsEnabled, $fromRestrictionSetitings, $ipAddress, $currentUserId ); -
/** * Allow add-on plugins to register additional validation scripts. */ apply_filters( 'bitform_validation_and_other_script_files', $files ); -
apply_filters( 'bitform_translate_form_string', (string) $mailTemplate[0]->sub, 'mail-sub-' . $mailTemplateID, $formID ); -
bitform_admin_form_changed
actiondo_action( 'bitform_admin_form_changed' ); -
bitform_form_saved
actiondo_action( 'bitform_form_saved', $formId ); -
bitform_submit_error
actiondo_action( 'bitform_submit_error', $form_id, $submitSatus ); -
bitform_update_error
actiondo_action( 'bitform_update_error', $form_id, $updateStatus ); -
bitform_purge_caches
actiondo_action( 'bitform_purge_caches', [], 'none' ); -
apply_filters( 'bitform_advanced_oninput_conditions', $workFlowReturnable, $workFlowRun, static::$_formID ); -
bitform_check_honeypot
filterapply_filters( 'bitform_check_honeypot', false, $this->_form_id, wp_unslash($_POST) ); -
bitform_current_language
filterapply_filters( 'bitform_current_language', '', $rowId ); -
do_action( 'bitform_double_optin_confirmation', $workFlowReturnedData['integrationDetails'], $triggerData ); -
bitform_dynamic_field_filter
filterapply_filters( 'bitform_dynamic_field_filter', $form_content->fields ); -
bitform_field_inputmode_attr
filterapply_filters( 'bitform_field_inputmode_attr', '', $field ); -
bitform_field_max_attr
filterapply_filters( 'bitform_field_max_attr', '', $field ); -
bitform_field_min_attr
filterapply_filters( 'bitform_field_min_attr', '', $field ); -
apply_filters( 'bitform_field_suggestions_datalist', '', $field, $rowID, $contentCount ); -
apply_filters( 'bitform_filter_form_validation', $validated, $this->formId ); -
apply_filters( 'bitform_filter_restriction_entry_limit_message', $message, $this->formId ); -
apply_filters( 'bitform_filter_return_edit_success', $workFlowreturnedOnSubmit, $this->formId ); -
bitform_filter_translations
filterapply_filters( 'bitform_filter_translations', $bitforms['translations'] ); -
bitform_filter_user_details
filterapply_filters( 'bitform_filter_user_details', $user_details, $this->formId ); -
apply_filters( 'bitform_filter_workflow_condition_status', $conditionStatus, $condition, $fieldData, $this::$_formID ); -
do_action( 'bitform_form_abandonment_saved', $this->formID, $formAbandonment ); -
apply_filters( 'bitform_process_advanced_workflows', $workFlowReturnable, $workFlowRun, $fields, $fieldValue, $entryID, $logID, static::$_formID ); -
apply_filters( 'bitform_process_advanced_workflows_onload', [], $workFlowRun, $fields, static::$_formID ); -
apply_filters( 'bitform_repeater_repeated_rows', $repeatableWrap, $field ); -
bitform_submit_success
actiondo_action( 'bitform_submit_success', $this->formId, $entryID, $newPost, $filesData ); -
bitform_validation_error
actiondo_action( 'bitform_validation_error', $this->formId, $validated ); -
bitform_validation_success
actiondo_action( 'bitform_validation_success', $this->formId ); -
bitforms_activation
actiondo_action( 'bitforms_activation', false ); -
bitforms_exec_integrations
actiondo_action( 'bitforms_exec_integrations', $triggerData['integrations'], $workFlowReturnedData['fields'], $triggerData['formID'], $triggerData['entryID'], $triggerData['logID'] ); -
apply_filters( 'bitforms_form_access_capability', 'manage_options' ); -
apply_filters( 'bitforms_localize_block_script', [ 'forms' => $all_forms ] ); -
bitforms_localized_script
filterapply_filters( 'bitforms_localized_script', $bits ); -
{Config::VAR_PREFIX}activate
actiondo_action( "{Config::VAR_PREFIX}activate" ); -
do_action( "{Config::VAR_PREFIX}deactivate" ); -
do_action( 'bitform_after_save_entry_success', $this->form, $submitted_data, $this->formId, $entry_id ); -
do_action( 'bitform_after_update_entry_success', $this->form, $toUpdateValues, $formID, $entryID ); -
bitform_ai_tool_providers
filterapply_filters( 'bitform_ai_tool_providers', [] ); -
apply_filters( 'bitform_bypass_entry_log_check', false, $entryId, $integrationId ); -
apply_filters( 'bitform_cache_exclusion_patterns', $patterns ); -
apply_filters( 'bitform_cache_full_purge_fallback', true ); -
apply_filters( 'bitform_cache_purge_page_limit', 50 ); -
bitform_cache_purge_post_ids
filterapply_filters( 'bitform_cache_purge_post_ids', self::$purgePostIds ); -
apply_filters( 'bitform_cache_style_exclusion_patterns', $patterns ); -
apply_filters( 'bitform_check_duplicate_entry', $form_fields, $postData ); -
bitform_checked_exist_auth
actiondo_action( 'bitform_checked_exist_auth', $this->formId, $existAuth ); -
apply_filters( 'bitform_default_submit_confirmation_excluded_action_ids', $actionIds, $formId, $workFlowRun ); -
apply_filters( 'bitform_draft_excluded_field_types', self::DRAFT_EXCLUDED_FIELD_TYPES, $this->form_id ); -
bitform_draft_resume_step
filterapply_filters( 'bitform_draft_resume_step', 0, $formID, $abandonedEntryId ); -
apply_filters( 'bitform_dropdown_allow_custom_option', false, $field ); -
apply_filters( 'bitform_dropdown_selected_opt_image', '', $field, $fh ); -
bitform_email_body_text
filterapply_filters( 'bitform_email_body_text', $mailBody, $urlParams ); -
apply_filters( 'bitform_email_conditional_routing', $mailTo, $mailTemplate[0], $fieldValue, $formID ); -
bitform_entries_purged
actiondo_action( 'bitform_entries_purged', $formId, $entryIds, $actorId ); -
bitform_entries_restored
actiondo_action( 'bitform_entries_restored', $formId, $entryIds, $actorId ); -
bitform_entries_trashed
actiondo_action( 'bitform_entries_trashed', $formId, $entryIds, $actorId ); -
apply_filters( 'bitform_entry_limit_counts_trashed', true, $this->formId ); -
bitform_entry_list_badges
filterapply_filters( 'bitform_entry_list_badges', [], $entryIds ); -
bitform_entry_replay_enabled
filterapply_filters( 'bitform_entry_replay_enabled', (bool) $value ); -
apply_filters( 'bitform_file_max_size_section', '', $field, $fh ); -
apply_filters( 'bitform_filepond_plugins_list', [] ); -
apply_filters( 'bitform_filter_after_workflow_onload_fields', $fields, $formID ); -
apply_filters( 'bitform_filter_before_workflow_onload_fields', $fields, $formID ); -
bitform_filter_email_body
filterapply_filters( 'bitform_filter_email_body', $mailBody, [ 'form_id' => $formID, 'entry_id' => $entryID, 'field_values' => $fieldValue, 'template' => $mailTemplate[0] ?? null, 'is_double_optin' => (bool) $isDblOptin, ] ); -
bitform_filter_email_subject
filterapply_filters( 'bitform_filter_email_subject', $mailSubject, [ 'form_id' => $formID, 'entry_id' => $entryID, 'field_values' => $fieldValue, 'template' => $mailTemplate[0] ?? null, 'is_double_optin' => (bool) $isDblOptin, ] ); -
apply_filters( 'bitform_filter_format_submitted_data', $submitted_data, $this->formId ); -
apply_filters( 'bitform_filter_integration_run_failure_message', __('Integration execution failed', 'bit-form'), $integrationID, $formID ); -
apply_filters( 'bitform_filter_restriction_empty_submission_message', $restriction, $this->formId ); -
apply_filters( 'bitform_filter_restriction_is_login_message', $is_login_messages, $this->formId ); -
apply_filters( 'bitform_filter_restriction_one_per_ip_message', $onePerIp, $this->formId ); -
apply_filters( 'bitform_filter_return_submit_success', $workFlowreturnedOnSubmit, $this->formId ); -
apply_filters( 'bitform_filter_save_entry_user_details', $user_details, $this->formId ); -
apply_filters( 'bitform_filter_save_form_entry', $submitted_data, $this->formId ); -
apply_filters( 'bitform_filter_submission_log_data', $submissionLogData, $this->form_id, $type ); -
apply_filters( 'bitform_filter_update_entry_user_details', $user_details, $this->formId ); -
apply_filters( 'bitform_filter_update_form_entry', $updatedValue, $this->formId ); -
apply_filters( 'bitform_filter_upload_allow_file', true, [ 'file_name' => $fileName, 'extension' => $fileExtension, 'detected_mime' => $detectedMime, 'wp_ext' => $wpExt, 'wp_type' => $wpType, 'allow_exts' => $allowExts, 'allow_mimes' => $allowMimes, 'has_allowlist' => $hasAllowlist, ] ); -
apply_filters( 'bitform_filter_upload_denied_extensions', ['php', 'phtml', 'phar', 'htaccess', 'html', 'htm', 'xhtml', 'js', 'exe', 'sh', 'bat', 'cmd'] ); -
apply_filters( 'bitform_filter_upload_disallowed_mimes', [ 'application/x-php', 'text/x-php', 'application/x-msdownload', 'application/x-msdos-program', 'application/x-sh', 'application/x-csh', 'text/x-shellscript', 'application/java-archive' ] ); -
apply_filters( 'bitform_filter_wp_user_auth_response', $result, $this->formId, $authPostData, $parameter ); -
apply_filters( 'bitform_form_abandonment_settings', null, $this->form_id ); -
apply_filters( 'bitform_form_abandonment_warning_markup', '', $this->form_id ); -
apply_filters( 'bitform_form_translation_enabled', $enabled, $formId ); -
apply_filters( 'bitform_generate_pdf_attachment', [], $notifyDetails, $entryDetails, $logId ); -
apply_filters( 'bitform_groundhogg_block_internal_hosts', false ); -
do_action( 'bitform_integration_api_response_error', $formId, $entryId, $logID, $integrationId, $apiType, $apiResponse, $fieldValues ); -
do_action( 'bitform_integration_api_response_success', $formId, $entryId, $logID, $integrationId, $apiType, $apiResponse, $fieldValues ); -
do_action( 'bitform_integration_run_failure', $integrationID, $formID ); -
bitform_is_abandoned_entry
filterapply_filters( 'bitform_is_abandoned_entry', false, $formID, $entryId, $atts ); -
bitform_is_honeypot_active
filterapply_filters( 'bitform_is_honeypot_active', false, $this->_form_id, $this->getFormContent() ); -
bitform_loaded
actiondo_action( 'bitform_loaded' ); -
apply_filters( 'bitform_log_redact_recipients', false, $entryDetails, $action ); -
bitform_mask_password_values
filterapply_filters( 'bitform_mask_password_values', true, $this->formId ); -
bitform_onload_fields
actiondo_action( 'bitform_onload_fields', $fields, $formID ); -
apply_filters( 'bitform_process_advanced_workflows_onvalidate', $workFlowReturnable, $workFlowRun, $fieldData, $fieldValue, static::$_formID ); -
apply_filters( 'bitform_purge_caches_on_form_change', true ); -
bitform_save_entry
actiondo_action( 'bitform_save_entry', $this->form, $submitted_data, $this->formId ); -
bitform_save_entry_error
actiondo_action( 'bitform_save_entry_error', $this->form, $submitted_data, $this->formId ); -
apply_filters( 'bitform_skip_restriction_on_entry_edit', true, $restrictionKey, $this->formId ); -
apply_filters( 'bitform_temp_upload_retention', DAY_IN_SECONDS ); -
apply_filters( 'bitform_translation_allowed_redirect_hosts', $allowed, $source ); -
apply_filters( 'bitform_translation_cache_ttl', HOUR_IN_SECONDS, $rowId, $lang ); -
bitform_translation_enabled
filterapply_filters( 'bitform_translation_enabled', true ); -
apply_filters( 'bitform_translation_frontend_ajax_actions', self::FRONTEND_AJAX_ACTIONS ); -
apply_filters( 'bitform_translation_providers', [ Provider\WpmlProvider::class, Provider\PolylangProvider::class, Provider\TranslatePressProvider::class, ] ); -
apply_filters( 'bitform_translation_sanitize_html', true, $context ); -
bitform_Unique_entry
actiondo_action( 'bitform_Unique_entry', $uniqueFields, $validUniuqFields, $this->formId, $postData ); -
bitform_update_entry
actiondo_action( 'bitform_update_entry', $this->form, $updatedValue, $formID, $entryID ); -
bitform_update_entry_error
actiondo_action( 'bitform_update_entry_error', $this->form, $toUpdateValues, $formEntryMetaUpdateStatus, $this->formId ); -
bitform_update_success
actiondo_action( 'bitform_update_success', $this->formId, $entryID, $newPost, $filesData ); -
apply_filters( 'bitform_workflow_categories_to_process', ['classic', 'basic'] ); -
bitform_wp_user_auth
filterapply_filters( 'bitform_wp_user_auth', $existAuth[0], $authPostData, $parameter ); -
do_action( 'bitform_wp_user_auth_response', $result, $this->formId, $authPostData, $parameter ); -
bitforms_deactivation
actiondo_action( 'bitforms_deactivation', $network_wide ); -
bitforms_uninstall
actiondo_action( 'bitforms_uninstall' ); -
http_allowed_safe_ports
filterapply_filters( 'http_allowed_safe_ports', [80, 443, 8080], $host, $url ); -
litespeed_purge_all
actiondo_action( 'litespeed_purge_all' ); -
litespeed_purge_post
actiondo_action( 'litespeed_purge_post', $postId ); -
rt_nginx_helper_purge_all
actiondo_action( 'rt_nginx_helper_purge_all' ); -
rt_nginx_helper_purge_url
actiondo_action( 'rt_nginx_helper_purge_url', $url ); -
woocommerce_update_customer
actiondo_action( 'woocommerce_update_customer', $user_id ); -
wpfc_clear_all_cache
actiondo_action( 'wpfc_clear_all_cache', true ); -
wphb_clear_page_cache
actiondo_action( 'wphb_clear_page_cache' ); -
wpml_active_languages
filterapply_filters( 'wpml_active_languages', null ); -
wpml_current_language
filterapply_filters( 'wpml_current_language', null ); -
wpml_register_single_string
actiondo_action( 'wpml_register_single_string', self::DOMAIN, TranslationStringName::forForm($context, $formId), $string ); -
wpml_switch_language
actiondo_action( 'wpml_switch_language', $lang ); -
wpml_translate_single_string
filterapply_filters( 'wpml_translate_single_string', $string, self::DOMAIN, TranslationStringName::forForm($context, $formId), '' !== $lang ? $lang : null );
Generated from Bit Form's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: