Description #
This filter returns the nonce error message. Use this to change the error message.
apply_filters('fluentform/nonce_error', __('Nonce verification failed, please try again.', 'fluentform'));
Usage #
add_filter('fluentform/nonce_error', function($errorMessage){
$errorMessage = 'Nonce verification failed, please try again.';
return $errorMessage;
}, 10, 1);
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()