Forensix Digital icon
Forms

Forensix Digital hooks reference

Forensix Digital 1.2.0 has 19 actions and 49 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.

functions.phpyour child theme
// Run your own code when Forensix Digital fires an action
add_action( 'forensix_app_failed', function( $id, $e ) {
	// Your code runs here.
}, 10, 2 );

// Change a value Forensix Digital is about to use
add_filter( 'forensix_business_details', 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

  • src/Apps/AppRegistry.php line 131 · used in 3 places
    /**
     * Fires when an active app fails to start. The rest of the site keeps working.
     */
    do_action( 'forensix_app_failed', $id, $e );
  • src/Apps/Content/ContentCheck.php line 91 · used in 2 places
    /**
     * Filters the business details. The Business details app provides them while
     * it is active.
     */
    apply_filters( 'forensix_business_details', null );
  • src/Apps/Forms/EntryStore.php line 109 · used in 2 places
    /**
     * Fires after an entry was deleted, whatever the reason (manual, retention,
     * privacy erase). Add-ons that keep data for an entry, such as uploaded files,
     * remove it here.
     */
    do_action( 'forensix_form_entry_deleted', $id );
  • src/Admin/Menu.php line 69
    /**
     * Lets active apps add their own page. Entries need key, title and capability.
     */
    apply_filters( 'forensix_admin_screens', $screens );
  • src/Apps/AppRegistry.php line 249
    /**
     * Fires after an app was activated.
     */
    do_action( 'forensix_app_activated', $id );
  • src/Apps/AppRegistry.php line 334
    /**
     * Fires after an app's data was deleted, so shared services remove the app's
     * rows.
     */
    do_action( 'forensix_app_data_deleted', $id );
  • src/Apps/AppRegistry.php line 381
    /**
     * Fires after an app was deactivated. Shared services cancel the app's jobs
     * and schedules.
     */
    do_action( 'forensix_app_deactivated', $id );
  • src/Apps/Forms/ContactStore.php line 362
    /**
     * Fires after a contact was deleted. Add-ons remove what they keep for the
     * contact.
     */
    do_action( 'forensix_contact_deleted', $id );
  • src/Apps/Forms/ContactRoutes.php line 189
    /**
     * Filters the detail of a contact. Add-ons add their own parts, for example
     * reminders.
     */
    apply_filters( 'forensix_contact_detail', $detail, $contact );
  • src/Apps/Forms/ContactStore.php line 48
    /**
     * Filters the contact statuses.
     */
    apply_filters( 'forensix_contact_statuses', $default );
  • src/Apps/Content/ContentCheck.php line 104
    /**
     * Filters the number of months after which a post is suggested for review.
     */
    apply_filters( 'forensix_content_stale_months', ContentRules::STALE_MONTHS );
  • src/Core/Plugin.php line 206
    /**
     * Fires on plugin deactivation.
     */
    do_action( 'forensix_deactivated' );
  • src/Services/Entitlements/Entitlements.php line 52
    /**
     * Filters the site's edition. The Pro add-on sets "pro" or "expert" from the
     * licence state.
     */
    apply_filters( 'forensix_edition', Edition::FREE );
  • src/Services/Findings/Explanations.php line 328
    /**
     * Filters the explanation of a finding. Apps explain their own checks here.
     */
    apply_filters( 'forensix_finding_explanation', $text, $finding );
  • src/Services/Findings/Explanations.php line 348
    /**
     * Filters the manual steps shown under "How to fix" for a finding.
     */
    apply_filters( 'forensix_finding_how_to_fix', $text, $finding );
  • src/Apps/Forms/FormRenderer.php line 136
    /**
     * Filters markup placed after the fields. The add-on is responsible for
     * escaping.
     */
    apply_filters( 'forensix_form_after_fields', '', $form_id, $definition );
  • src/Apps/Forms/FormMarkup.php line 109
    /**
     * Filters the tags and attributes a rendered form may contain.
     */
    apply_filters( 'forensix_form_allowed_html', $allowed );
  • src/Apps/Forms/FormRenderer.php line 108
    /**
     * Filters extra attributes of the form element (name => value, values are
     * escaped here).
     */
    apply_filters( 'forensix_form_attributes', array(), $form_id, $definition );
  • src/Apps/Forms/FormRenderer.php line 123
    /**
     * Filters markup placed before the fields. The add-on is responsible for
     * escaping.
     */
    apply_filters( 'forensix_form_before_fields', '', $form_id, $definition );
  • src/Apps/Forms/Submitter.php line 112
    /**
     * Lets an add-on check the submission further (uploads, calculations) and
     * change the values or add errors. Runs only when the normal checks found no
     * errors.
     */
    apply_filters( 'forensix_form_checked', $checked, $definition, $post, $files );
  • src/Apps/Forms/Submitter.php line 130
    /**
     * Fires once the entry is saved, before the notification is sent. Add-ons that
     * accept uploads store the files here.
     */
    do_action( 'forensix_form_entry_saved', $entry_id, $form_id, $definition, $checked['values'], $files );
  • src/Apps/Forms/FormRenderer.php line 193
    /**
     * Filters extra attributes of the element around a field (name => value,
     * escaped here).
     */
    apply_filters( 'forensix_form_field_attributes', array(), $field );
  • src/Apps/Forms/FormDefinition.php line 146
    /**
     * Filters the extra settings an add-on keeps in a field. Receives the raw
     * field.
     */
    apply_filters( 'forensix_form_field_ext', array(), $field, $type );
  • src/Apps/Forms/FormDefinition.php line 61
    /**
     * Filters the field types a form can use.
     */
    apply_filters( 'forensix_form_field_types', self::TYPES );
  • src/Apps/Forms/FormDefinition.php line 237
    /**
     * Filters the ids of fields that are skipped: not required, not checked,
     * stored empty. Used for fields an add-on hides by a rule or validates itself.
     */
    apply_filters( 'forensix_form_hidden_fields', array(), $this, $input );
  • src/Apps/Forms/FormDefinition.php line 47
    /**
     * Filters the field types that only show something and send no value.
     */
    apply_filters( 'forensix_form_layout_types', self::LAYOUT );
  • src/Apps/Forms/FormRenderer.php line 73
    /**
     * Lets an add-on show something else in place of the form, for example while
     * the form is closed or behind a password. Return markup (the add-on escapes
     * it), or an empty string to show the form.
     */
    apply_filters( 'forensix_form_locked_markup', '', $form_id, $definition, $now );
  • src/Apps/Forms/Submitter.php line 65
    /**
     * Lets an add-on refuse submissions, for example while the form is closed.
     * Return the message for the visitor, or an empty string to accept the
     * submission.
     */
    apply_filters( 'forensix_form_locked_submission', '', $form_id, $definition, $post, $now );
  • src/Apps/Forms/Submitter.php line 147
    /**
     * Fires when the notification of an entry could not be sent. The entry is
     * kept.
     */
    do_action( 'forensix_form_mail_failed', $entry_id, $form_id, $error );
  • src/Apps/Forms/FormRenderer.php line 166
    /**
     * Lets an add-on draw a field of its own type or replace the markup of a
     * field. Return a string to use it; the add-on is responsible for escaping and
     * for the labels.
     */
    apply_filters( 'forensix_form_render_field', null, $prefix, $field, $value, $error );
  • src/Apps/Forms/FormRenderer.php line 99
    /**
     * Fires when a form is about to be rendered, e.g. to load an add-on's script.
     */
    do_action( 'forensix_form_rendering', $form_id, $definition );
  • src/Apps/Forms/FormsRoutes.php line 354
    /**
     * Lets an add-on refuse a form it cannot support, with plain-language reasons.
     */
    apply_filters( 'forensix_form_save_problems', array(), $form_id, $definition );
  • src/Apps/Forms/FormRenderer.php line 59
    /**
     * Filters markup shown under the thank-you message, for example poll results.
     * The add-on is responsible for escaping.
     */
    apply_filters( 'forensix_form_sent_markup', '', $form_id, $definition );
  • src/Apps/Forms/FormDefinition.php line 179
    /**
     * Filters the extra settings an add-on keeps for the whole form. Receives the
     * raw settings.
     */
    apply_filters( 'forensix_form_settings_ext', array(), $settings );
  • src/Apps/Forms/FormsApp.php line 221
    /**
     * Filters what the form starts with: the result of the last submission, or for
     * example answers an add-on saved earlier. Keys: status, message, errors,
     * values (by field id).
     */
    apply_filters( 'forensix_form_state', $state, $form_id );
  • src/Apps/Forms/Submitter.php line 161
    /**
     * Fires after the entry was saved and the notification attempted. The entry
     * may already be gone when the form keeps no entries.
     */
    do_action( 'forensix_form_submitted', $entry_id, $form_id, $form['title'], $definition, $checked['values'], $sent );
  • src/Services/Http/Http.php line 54
    /**
     * Filters the arguments of every outbound Forensix request. Return false to
     * block it.
     */
    apply_filters( 'forensix_http_request_args', $args, $url );
  • src/Services/Jobs/JobRunner.php line 184
    /**
     * Fires when a job completed.
     */
    do_action( 'forensix_job_completed', $job->id, $job->type, $job->app );
  • src/Services/Jobs/JobRunner.php line 296
    /**
     * Fires when a job failed for good.
     */
    do_action( 'forensix_job_failed', $job->id, $job->type, $job->app, $message );
  • src/Apps/Launch/LaunchChecklist.php line 74
    /**
     * Filters the launch checklist. Add-ons add items for what they know, for
     * example a backup.
     */
    apply_filters( 'forensix_launch_items', $items );
  • src/Core/Plugin.php line 125
    /**
     * Fires when the core services are ready, before apps start. Add-ons (Forensix
     * Digital Pro) add their services and filters here.
     */
    do_action( 'forensix_loaded', $container );
  • src/Apps/Maintenance/MaintenanceApp.php line 230
    /**
     * Whether the site is closed right now while the switch is on.
     */
    apply_filters( 'forensix_maintenance_closed', true, $values );
  • src/Apps/Maintenance/MaintenanceApp.php line 188
    /**
     * Runs before the closed page prints its styles. Add-ons register their own
     * styles here, or add CSS to the fxd-maintenance handle with
     * wp_add_inline_style().
     */
    do_action( 'forensix_maintenance_enqueue_styles', $values );
  • src/Apps/Maintenance/MaintenanceApp.php line 273
    /**
     * Whether a visitor who is not signed in may see the real site.
     */
    apply_filters( 'forensix_maintenance_may_pass', false, $values );
  • src/Apps/Maintenance/MaintenanceApp.php line 144
    /**
     * Extra parts of the built-in closed page, for example a countdown or a signup
     * form.
     */
    apply_filters( 'forensix_maintenance_page_parts', self::empty_parts(), $values );
  • src/Apps/Maintenance/MaintenanceApp.php line 125
    /**
     * Seconds after which search engines should try again (the Retry-After
     * header).
     */
    apply_filters( 'forensix_maintenance_retry_after', 3600, $values );
  • src/Apps/Maintenance/MaintenanceApp.php line 196
    /**
     * Style handles the closed page prints.
     */
    apply_filters( 'forensix_maintenance_style_handles', array( self::STYLE ), $values );
  • src/Core/Plugin.php line 150
    /**
     * Fires after all active apps have started.
     */
    do_action( 'forensix_ready', $container );
  • src/Apps/AppRegistry.php line 111
    /**
     * Register apps here: $registry->register( new AppDefinition( ... ) ).
     */
    do_action( 'forensix_register_apps', $this );
  • src/Apps/SiteScan/SiteScanApp.php line 220
    /**
     * Filters the checks of a site scan.
     */
    apply_filters( 'forensix_scan_checks', $checks );
  • src/Services/Findings/FindingStore.php line 246
    /**
     * Fires when a scan has ended.
     */
    do_action( 'forensix_scan_finished', $scan_id, $app, $status, $result );
  • src/Apps/SiteScan/SiteScanApp.php line 268
    /**
     * Filters whether pages marked noindex are scanned. SEO Basics turns this on
     * to report them.
     */
    apply_filters( 'forensix_scan_include_noindex', (bool) $this->settings->get( self::ID, 'include_noindex', false ) );
  • src/Apps/SiteScan/SiteScanApp.php line 274
    /**
     * Filters the pause between page requests of a scan, in seconds.
     */
    apply_filters( 'forensix_scan_pause', 0.2 );
  • src/Apps/SiteScan/SiteScanApp.php line 246
    /**
     * Filters the stored-content checks of a site scan.
     */
    apply_filters( 'forensix_scan_stored_checks', $checks );
  • src/Services/Seo/SeoProvider.php line 143
    /**
     * Filters the SEO provider id, for SEO plugins Forensix does not know.
     */
    apply_filters( 'forensix_seo_provider', $id, $detected );
  • src/Apps/Seo/TagOutput.php line 140
    /**
     * Filters the tags Forensix prints. Return an empty list to print none.
     */
    apply_filters( 'forensix_seo_tags', $tags );
  • src/Apps/Commerce/ShopCheck.php line 200
    /**
     * Filters the payment methods checked for test mode. Each entry is a label and
     * the option name and key that hold "yes" when the method is in test mode.
     */
    apply_filters( 'forensix_shop_test_mode_options', array( 'Stripe' => array( 'woocommerce_stripe_settings', 'testmode' ), 'PayPal' => array( 'woocommerce_paypal_settings', 'testmode' ), ) );
  • src/Apps/Perf/SpeedRoutes.php line 96
    /**
     * Filters where the Speed test runs when there is no own key. The Pro add-on
     * sends licensed sites to its licence route. Return null to ask Google without
     * a key.
     */
    apply_filters( 'forensix_speed_proxy', $proxy );
  • src/Core/Uninstaller.php line 47
    /**
     * Fires before Forensix data is removed. Apps whose code is still present can
     * clean up here.
     */
    do_action( 'forensix_uninstall', $remove_all );
  • src/Apps/Media/MediaCheck.php line 152
    apply_filters( 'forensix_media_has_modern_copy', false, $id );
  • src/Services/Http/Http.php line 43
    apply_filters( 'https_local_ssl_verify', false );
  • src/Apps/Maintenance/MaintenanceApp.php line 399
    apply_filters( 'template_include', $template );
  • src/Apps/Commerce/Translations.php line 47
    apply_filters( 'wpml_active_languages', null, array( 'skip_missing' => 0 ) );
  • src/Apps/Commerce/Translations.php line 63
    apply_filters( 'wpml_default_language', null );
  • src/Apps/Commerce/Translations.php line 86
    apply_filters( 'wpml_element_language_code', null, $args );
  • src/Apps/Commerce/Translations.php line 109
    apply_filters( 'wpml_object_id', $id, $type, false, $code );
  • src/Apps/Observations/ConfigChecks.php line 63
    apply_filters( 'xmlrpc_enabled', true );

Generated from Forensix Digital'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.

Plugin 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 this

Not 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: