Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Change Validation Message in Contact Form Module
add_filter( 'pp_contact_form_strings_i18n', function( $msgs ) {
// Previous msg - Please enter your name.
// New msg
$msgs['empty_name'] = 'Your custom validation message.';
return $msgs;
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment