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.
// 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
-
/** * Fires when an active app fails to start. The rest of the site keeps working. */ do_action( 'forensix_app_failed', $id, $e ); -
/** * Filters the business details. The Business details app provides them while * it is active. */ apply_filters( 'forensix_business_details', null ); -
/** * 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 ); -
/** * Lets active apps add their own page. Entries need key, title and capability. */ apply_filters( 'forensix_admin_screens', $screens ); -
/** * Fires after an app was activated. */ do_action( 'forensix_app_activated', $id ); -
/** * Fires after an app's data was deleted, so shared services remove the app's * rows. */ do_action( 'forensix_app_data_deleted', $id ); -
/** * Fires after an app was deactivated. Shared services cancel the app's jobs * and schedules. */ do_action( 'forensix_app_deactivated', $id ); -
/** * Fires after a contact was deleted. Add-ons remove what they keep for the * contact. */ do_action( 'forensix_contact_deleted', $id ); -
/** * Filters the detail of a contact. Add-ons add their own parts, for example * reminders. */ apply_filters( 'forensix_contact_detail', $detail, $contact ); -
/** * Filters the contact statuses. */ apply_filters( 'forensix_contact_statuses', $default ); -
/** * Filters the number of months after which a post is suggested for review. */ apply_filters( 'forensix_content_stale_months', ContentRules::STALE_MONTHS ); -
/** * Fires on plugin deactivation. */ do_action( 'forensix_deactivated' ); -
/** * Filters the site's edition. The Pro add-on sets "pro" or "expert" from the * licence state. */ apply_filters( 'forensix_edition', Edition::FREE ); -
/** * Filters the explanation of a finding. Apps explain their own checks here. */ apply_filters( 'forensix_finding_explanation', $text, $finding ); -
/** * Filters the manual steps shown under "How to fix" for a finding. */ apply_filters( 'forensix_finding_how_to_fix', $text, $finding ); -
/** * Filters markup placed after the fields. The add-on is responsible for * escaping. */ apply_filters( 'forensix_form_after_fields', '', $form_id, $definition ); -
/** * Filters the tags and attributes a rendered form may contain. */ apply_filters( 'forensix_form_allowed_html', $allowed ); -
/** * Filters extra attributes of the form element (name => value, values are * escaped here). */ apply_filters( 'forensix_form_attributes', array(), $form_id, $definition ); -
/** * Filters markup placed before the fields. The add-on is responsible for * escaping. */ apply_filters( 'forensix_form_before_fields', '', $form_id, $definition ); -
/** * 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 ); -
/** * 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 ); -
/** * Filters extra attributes of the element around a field (name => value, * escaped here). */ apply_filters( 'forensix_form_field_attributes', array(), $field ); -
/** * Filters the extra settings an add-on keeps in a field. Receives the raw * field. */ apply_filters( 'forensix_form_field_ext', array(), $field, $type ); -
/** * Filters the field types a form can use. */ apply_filters( 'forensix_form_field_types', self::TYPES ); -
/** * Filters the field types that only show something and send no value. */ apply_filters( 'forensix_form_layout_types', self::LAYOUT ); -
/** * 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 ); -
/** * 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 ); -
/** * 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 ); -
/** * 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 ); -
/** * 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 ); -
/** * Lets an add-on refuse a form it cannot support, with plain-language reasons. */ apply_filters( 'forensix_form_save_problems', array(), $form_id, $definition ); -
/** * 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 ); -
/** * Filters the extra settings an add-on keeps for the whole form. Receives the * raw settings. */ apply_filters( 'forensix_form_settings_ext', array(), $settings ); -
/** * 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 ); -
/** * 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 ); -
/** * Filters the arguments of every outbound Forensix request. Return false to * block it. */ apply_filters( 'forensix_http_request_args', $args, $url ); -
/** * Fires when a job completed. */ do_action( 'forensix_job_completed', $job->id, $job->type, $job->app ); -
/** * Fires when a job failed for good. */ do_action( 'forensix_job_failed', $job->id, $job->type, $job->app, $message ); -
/** * Filters the launch checklist. Add-ons add items for what they know, for * example a backup. */ apply_filters( 'forensix_launch_items', $items ); -
/** * 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 ); -
/** * Whether the site is closed right now while the switch is on. */ apply_filters( 'forensix_maintenance_closed', true, $values ); -
/** * 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 ); -
/** * Page slugs that count as legal pages and stay public while the site is * closed. */ apply_filters( 'forensix_maintenance_legal_slugs', array( 'imprint', 'legal-notice', 'legal', 'privacy', 'privacy-policy', 'cookie-policy', 'cookies', 'terms', 'terms-and-conditions', 'terms-of-service', 'withdrawal', 'impressum', 'datenschutz', 'datenschutzerklaerung', 'agb', 'widerruf', 'widerrufsbelehrung', 'aviso-legal', 'politica-de-privacidad', 'privacidad', 'politica-de-cookies', 'terminos-y-condiciones', 'condiciones-generales', 'desist... ); -
/** * Whether a visitor who is not signed in may see the real site. */ apply_filters( 'forensix_maintenance_may_pass', false, $values ); -
/** * 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 ); -
/** * Seconds after which search engines should try again (the Retry-After * header). */ apply_filters( 'forensix_maintenance_retry_after', 3600, $values ); -
/** * Style handles the closed page prints. */ apply_filters( 'forensix_maintenance_style_handles', array( self::STYLE ), $values ); -
/** * Fires after all active apps have started. */ do_action( 'forensix_ready', $container ); -
/** * Register apps here: $registry->register( new AppDefinition( ... ) ). */ do_action( 'forensix_register_apps', $this ); -
/** * Filters the checks of a site scan. */ apply_filters( 'forensix_scan_checks', $checks ); -
/** * Fires when a scan has ended. */ do_action( 'forensix_scan_finished', $scan_id, $app, $status, $result ); -
/** * 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 ) ); -
/** * Filters the pause between page requests of a scan, in seconds. */ apply_filters( 'forensix_scan_pause', 0.2 ); -
/** * Filters the stored-content checks of a site scan. */ apply_filters( 'forensix_scan_stored_checks', $checks ); -
/** * Filters the SEO provider id, for SEO plugins Forensix does not know. */ apply_filters( 'forensix_seo_provider', $id, $detected ); -
/** * Filters the tags Forensix prints. Return an empty list to print none. */ apply_filters( 'forensix_seo_tags', $tags ); -
/** * 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' ), ) ); -
/** * 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 ); -
/** * Fires before Forensix data is removed. Apps whose code is still present can * clean up here. */ do_action( 'forensix_uninstall', $remove_all ); -
apply_filters( 'forensix_media_has_modern_copy', false, $id ); -
apply_filters( 'https_local_ssl_verify', false ); -
apply_filters( 'template_include', $template ); -
apply_filters( 'wpml_active_languages', null, array( 'skip_missing' => 0 ) ); -
apply_filters( 'wpml_default_language', null ); -
apply_filters( 'wpml_element_language_code', null, $args ); -
apply_filters( 'wpml_object_id', $id, $type, false, $code ); -
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.
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: