View Categories

fluentform/nonce_verify

Description  #

This filter checks if the form submission should verify the nonce security check. For front-end submission, this is turned off by default, which can be turned on by this filter.

apply_filters('fluentform/nonce_verify', false, $formId);

Usage   #

add_filter('fluentform/nonce_verify', function ($status, $formId) {
    // do your stuff
    return $status;
}, 10, 2);

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()