Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This hook can be used to change the incorrect field message in the global settings.
Formidable Forms is the best WordPress Form Builder plugin. Get it for free!
Usage
add_filter( 'frm_global_invalid_msg', 'change_message' );
Parameters
- $message (string)
Examples
Change the incorrect field message
This example will change the incorrect field message.
add_filter( 'frm_global_invalid_msg', 'change_message' );
function change_message( $message ) {
$message = 'place new message here';
return $message;
}