Description #
This filter checks nonce verification status. By default, it is turned off for front-end submission. You can just return true to turn it on.
apply_filters('fluentform/nonce_verify', false, $formId);
Usage #
add_filter('fluentform/nonce_verify', function($status , $form_id){
// Do your stuff
return status;
}, 10, 2);
Parameters #
- $status (boolean) Status
- $form_id (int) Form ID
Placement #
This code should be placed in the functions.php file of your active theme.
Source Code #
This filter is located in FluentForm\app\Services\Form\FormValidationService -> validateNonce()