Wiwi Forms 1.0.4 has 5 actions and 20 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 Wiwi Forms fires an action
add_action( 'litespeed_control_set_nocache', function( $arg1 ) {
// Your code runs here.
}, 10, 1 );
// Change a value Wiwi Forms is about to use
add_filter( 'wiwi_forms_max_control_aggregate_bytes', function( $value, $form_id, $config ) {
// 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
-
/** * Filters the aggregate bytes accepted across auxiliary form controls. */ apply_filters( 'wiwi_forms_max_control_aggregate_bytes', self::CONTROL_AGGREGATE_BYTES, $form_id, $config ); -
/** * Filters the maximum bytes accepted for one auxiliary form control. */ apply_filters( 'wiwi_forms_max_control_bytes', self::CONTROL_BYTES, $form_id, $config ); -
/** * Filters the hard byte limit for one submitted form value. */ apply_filters( 'wiwi_forms_max_field_bytes', self::FIELD_BYTES, $form_id, $config ); -
/** * Filters the maximum JSON bytes retained to repopulate a failed form. */ apply_filters( 'wiwi_forms_max_repopulation_bytes', self::REPOPULATION_JSON_BYTES, $form_id, $config ); -
/** * Filters the maximum HTTP request size accepted for a form submission. */ apply_filters( 'wiwi_forms_max_request_bytes', self::default_request_bytes( $config ), $form_id, $config ); -
/** * Filters the aggregate byte limit for submitted form values. */ apply_filters( 'wiwi_forms_max_submission_bytes', self::AGGREGATE_BYTES, $form_id, $config ); -
/** * Filters the maximum number of top-level submitted field keys. */ apply_filters( 'wiwi_forms_max_submission_fields', self::FIELD_COUNT, $form_id, $config ); -
/** * Filters the maximum number of scalar leaves across submitted fields. */ apply_filters( 'wiwi_forms_max_submission_values', self::SCALAR_LEAVES, $form_id, $config ); -
/** * A channel change resets the monotonic sequence and therefore needs explicit * authorization from the connector/admin integration. */ apply_filters( 'wiwi_forms_rules_allow_channel_reset', false, $old_channel, $channel ); -
/** * Filters the maximum bytes retained from one typed field for spam scoring. */ apply_filters( 'wiwi_forms_spam_context_field_bytes', self::FIELD_BYTES, $this->form_id, $this->config ); -
/** * Filters the aggregate bytes retained for spam scoring. */ apply_filters( 'wiwi_forms_spam_context_total_bytes', self::TOTAL_BYTES, $this->form_id, $this->config ); -
/** * Filters the fired hits before the total is computed. */ apply_filters( 'wiwi_forms_spam_hits', $hits, $ctx ); -
/** * Filters the hosts excluded from link detection. */ apply_filters( 'wiwi_forms_spam_ignore_hosts', array_values( array_unique( $hosts ) ), $this ); -
/** * Filters the host treated as the site's own (own-host links never score; the * own_domain_in_text signal matches against it). */ apply_filters( 'wiwi_forms_spam_own_host', $host, $this ); -
/** * Filters the maximum local-rules scoring time in seconds. */ apply_filters( 'wiwi_forms_spam_rules_budget', self::SCORE_BUDGET_SECONDS ); -
/** * Filters whether the local rule pass runs for this context. This is useful to * isolate built-ins in offline evaluation; normal submissions leave it on. */ apply_filters( 'wiwi_forms_spam_rules_enabled', true, $ctx ); -
/** * Filters the registered spam signals. */ apply_filters( 'wiwi_forms_spam_signals', $signals ); -
/** * Filters the spam signal weights. */ apply_filters( 'wiwi_forms_spam_weights', self::default_weights() ); -
/** * Filters a submitter-mail quota. */ apply_filters( 'wiwi_forms_submitter_mail_quota', $default, $which ); -
do_action( 'litespeed_control_set_nocache', 'wiwi-forms submission result' ); -
do_action( 'litespeed_purge_all' ); -
do_action( 'litespeed_purge_post', (int) $page_id ); -
apply_filters( 'wiwi_forms_entry_value_display', $this->format_entry_value( $field, $value ), $value, $field, $this->type() ); -
do_action( 'wiwi_forms_form_saved', $post_id ); -
do_action( 'wiwi_forms_rules_imported', $result );
Generated from Wiwi 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: