Sentient Forms 0.13.0 has 13 actions and 77 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 Sentient Forms fires an action
add_action( 'sentient_forms_async_event', function( $arg1 ) {
// Your code runs here.
}, 10, 1 );
// Change a value Sentient Forms is about to use
add_filter( 'sentient_forms_async_scheduler_group', 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
-
/** * Filter the Action Scheduler group used for Sentient Forms async jobs. */ apply_filters( 'sentient_forms_async_scheduler_group', self::ACTION_SCHEDULER_GROUP ); -
/** * Supply a dedicated lock connection for database-routing or replicated * topologies. */ apply_filters( 'sentient_forms_action_authority_lock_database', self::$dedicated_lock_database, $wpdb, $mode ); -
/** * Fires whenever the async handler emits a structured telemetry/logging event. */ do_action( 'sentient_forms_async_event', [ 'event' => $event, 'context' => $context, 'payload' => $payload, 'timestamp' => time(), ] ); -
/** * Fires for each asynchronous queue health warning detected during evaluation. */ do_action( 'sentient_forms_async_health_warning', $warning ); -
/** * Internal hook to observe async job scheduling (used by tests). */ do_action( 'sentient_forms_async_job_scheduled', $hook, $args, $group, $action_id, $run_at ); -
/** * Filter the payload stored alongside async job metadata. */ apply_filters( 'sentient_forms_async_metadata_payload', $payload, $hook ); -
/** * Filter the capabilities response. */ apply_filters( 'sentient_forms_capabilities', $capabilities, $license_data ); -
/** * Fires when the Gravity Forms adapter inspects an evaluation payload. Used * for temporary logging/diagnostics in staging. */ do_action( 'sentient_forms_debug_evaluation_payload', $payload, $job, $result ); -
/** * Action hook to allow other plugins/themes to register their own adapters. */ do_action( 'sentient_forms_register_adapters', $this ); -
/** * Action hook to allow other plugins/themes to register their own LLM models. */ do_action( 'sentient_forms_register_llm_models', $this ); -
/** * Filters the list of REST API controller class names to be loaded. Allows * other parts of the plugin or third-party extensions to add their REST API * controller classes. Classes added here must be autoloadable. */ apply_filters( 'sentient_forms_rest_api_controller_classes', $controller_classes_to_load ); -
do_action( 'sentient_forms_async_failure', $context, $error ); -
do_action( 'sentient_forms_async_success', $context, $result ); -
do_action( 'sentient_forms_lead_scoring_result_index_failed', $indexed, $event ); -
apply_filters( 'sentient_forms_managed_service_url', $url ); -
apply_filters( 'sentient_forms_proxy_api_url', $url ); -
apply_filters( 'gform_pre_render', $form, false, [], 'form_display' ); -
apply_filters( "gform_pre_render_{$form_id}", $filtered, false, [], 'form_display' ); -
apply_filters( 'script_loader_src', $src, self::ADMIN_ASSET_HANDLE ); -
apply_filters( 'script_loader_tag', $tag, self::ADMIN_ASSET_HANDLE, $src ); -
apply_filters( 'sentient_forms_action_authority_writer_lock_timeout', 1 ); -
apply_filters( 'sentient_forms_admin_asset_base_url', null ); -
apply_filters( 'sentient_forms_admin_dev_assets_enabled', $allowed ); -
apply_filters( 'sentient_forms_admin_dev_host', null ); -
apply_filters( 'sentient_forms_admin_dev_notice_enabled', true ); -
apply_filters( 'sentient_forms_admin_dev_timeout', 1.5 ); -
apply_filters( 'sentient_forms_admin_show_dev_probe_failures', false ); -
apply_filters( 'sentient_forms_allow_insecure_outbound_url', $allowed, $url, $context ); -
apply_filters( 'sentient_forms_async_evaluation_jobs', $candidates, $job, $result ); -
apply_filters( 'sentient_forms_async_failure_threshold', self::DEFAULT_FAILURE_THRESHOLD ); -
apply_filters( 'sentient_forms_async_failure_window', self::FAILURE_WINDOW ); -
apply_filters( 'sentient_forms_async_metadata_action_scheduler_status', null, $action_scheduler_id ); -
apply_filters( 'sentient_forms_async_metadata_jobs', $jobs ); -
apply_filters( 'sentient_forms_async_queue_threshold', self::DEFAULT_QUEUE_THRESHOLD ); -
apply_filters( 'sentient_forms_async_request_ttl', self::DEFAULT_TTL ); -
apply_filters( 'sentient_forms_async_scheduler_group_label', __( 'Sentient Forms Background', 'sentient-forms' ), $group ); -
apply_filters( 'sentient_forms_async_stale_queue_threshold', self::DEFAULT_STALE_QUEUE_THRESHOLD ); -
apply_filters( 'sentient_forms_contact_form_7_current_submission', $submission, $contact_form, $this ); -
apply_filters( 'sentient_forms_contact_form_7_form_object', $form, $form_id, $this ); -
apply_filters( 'sentient_forms_contact_form_7_form_tags', $tags, $form, $this ); -
apply_filters( 'sentient_forms_contact_form_7_forms', $forms, $this ); -
apply_filters( 'sentient_forms_contact_form_7_is_active', $is_active, $this ); -
apply_filters( 'sentient_forms_cps_base_url', $base_url, $options ); -
apply_filters( 'sentient_forms_credential_reference_action_scan_batch_size', self::SCHEDULED_ACTION_SCAN_BATCH_SIZE ); -
do_action( 'sentient_forms_debug_log', $message, $context ); -
apply_filters( 'sentient_forms_debug_log_enabled', defined( 'WP_DEBUG' ) && WP_DEBUG, $message, $context ); -
apply_filters( 'sentient_forms_delete_data_on_uninstall', $delete_data ); -
apply_filters( 'sentient_forms_elementor_data_for_post', $raw_data, $post_id, $this ); -
apply_filters( 'sentient_forms_elementor_discovery_post_limit', 500, $this ); -
apply_filters( 'sentient_forms_elementor_form_id_from_record', '', $record, $handler, $this ); -
do_action( 'sentient_forms_elementor_form_resolution_failed', [ 'reason' => 'ambiguous_or_missing_form_id', 'form_source' => $this->get_id(), 'form_name' => $form_name, 'widget_id' => $this->record_widget_id( $record ), ] ); -
apply_filters( 'sentient_forms_elementor_historical_entries_pre', null, $form_id, $query, $limit, $status, $this ); -
apply_filters( 'sentient_forms_elementor_is_active', $is_active, $this ); -
apply_filters( 'sentient_forms_elementor_posts_with_data', $post_ids, $this ); -
apply_filters( 'sentient_forms_elementor_pro_form_submissions_api_available', $has_api, $this ); -
apply_filters( 'sentient_forms_elementor_pro_forms_api_available', $has_api, $this ); -
apply_filters( 'sentient_forms_enable_debug_evaluation_logging', defined( 'WP_DEBUG' ) && WP_DEBUG ); -
apply_filters( 'sentient_forms_enable_logging', $enabled_via_option || ( defined( 'SENTIENT_FORMS_LOG_ENABLED' ) && SENTIENT_FORMS_LOG_ENABLED ) ); -
apply_filters( 'sentient_forms_execution_event_retention_days', $days ); -
apply_filters( 'sentient_forms_execution_request_id', $execution_request_id, $action_code, $form, $entry, $context ); -
apply_filters( 'sentient_forms_lead_profile_generation_model', $model, $profile ); -
apply_filters( 'sentient_forms_lead_profile_generation_timeout', 180 ); -
apply_filters( 'sentient_forms_local_custom_action_quota_max', 999 ); -
apply_filters( 'sentient_forms_local_mark_entry_as_spam', null, $entry_id, $result ); -
apply_filters( 'sentient_forms_openrouter_base_url', self::DEFAULT_BASE_URL ); -
do_action( 'sentient_forms_openrouter_model_refresh_consent_recorded', $consent_id, $disclosure_version ); -
apply_filters( 'sentient_forms_realtime_runtime_config_rate_limit_per_minute', $default_limit, $form_id ); -
apply_filters( 'sentient_forms_realtime_runtime_config_ttl_seconds', 12 * HOUR_IN_SECONDS, $form_id ); -
do_action( 'sentient_forms_realtime_storage_field_update_failed', $form_id, $new_field_id, $updated ); -
apply_filters( 'sentient_forms_realtime_suggest_client_identifier', $remote_addr, $form_id ); -
apply_filters( 'sentient_forms_realtime_suggest_max_payload_bytes', self::DEFAULT_MAX_PAYLOAD_BYTES, $request ); -
apply_filters( 'sentient_forms_realtime_suggest_rate_limit_per_minute', $default_limit, $form_id ); -
sentient_forms_site_context_generation_action_scheduler_enabled
filter Copy link Customise this hookapply_filters( 'sentient_forms_site_context_generation_action_scheduler_enabled', true, $job_id ); -
apply_filters( 'sentient_forms_site_context_generation_http_dispatch_enabled', true, $job_id ); -
apply_filters( 'sentient_forms_spam_guidance_billing_state', null, $managed_context ); -
apply_filters( 'sentient_forms_spam_guidance_generate_rationale_pre', null, $context ); -
apply_filters( 'sentient_forms_spam_guidance_managed_generation_response', null, $payload, $context ); -
apply_filters( 'sentient_forms_spam_guidance_openrouter_generation_response', null, $api_key, $payload, $context ); -
sentient_forms_submission_ledger_retention_backfill_allow_cursor_persist
filter Copy link Customise this hookapply_filters( 'sentient_forms_submission_ledger_retention_backfill_allow_cursor_persist', true, $cursor, $max_id ); -
apply_filters( 'sentient_forms_submission_ledger_retention_backfill_batch_size', self::SUBMISSION_LEDGER_RETENTION_BACKFILL_BATCH_SIZE ); -
sentient_forms_submission_ledger_retention_backfill_max_batches
filter Copy link Customise this hookapply_filters( 'sentient_forms_submission_ledger_retention_backfill_max_batches', self::SUBMISSION_LEDGER_RETENTION_BACKFILL_MAX_BATCHES ); -
apply_filters( 'sentient_forms_submission_ledger_retention_days', $days ); -
apply_filters( 'sentient_forms_submission_ledger_retention_migration_time', current_time( 'mysql', true ) ); -
apply_filters( 'sentient_forms_trusted_service_hosts', self::TRUSTED_SERVICE_HOSTS ); -
apply_filters( 'sentient_forms_wpforms_historical_entries_pre', null, $form_id, $query, $limit, $status, $this ); -
apply_filters( 'sentient_forms_wpforms_is_active', $is_active, $this ); -
apply_filters( 'sentient_forms_wpforms_native_entry_available', null, $form_id, $entry_id, $this ); -
apply_filters( 'sentient_forms_wpforms_native_entry_storage_available', null, $this ); -
apply_filters( 'sentient_forms_wpforms_object', $object, $name, $this );
Generated from Sentient Forms'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: