Change the Validation Message

Code

Filename: gpb-change-the-validation-message.php

<?php
/**
 * Gravity Perks // Blocklist // Change the Validation Message
 * https://gravitywiz.com/documentation/gravity-forms-blocklist/
 */
add_filter( 'gpb_validation_message', function( $validation_message ) {
	// Specify the message you would like to use.
	return 'YOUR MESSAGE';
});

Leave a Reply

Your email address will not be published. Required fields are marked *

  • Trouble installing this snippet? See our troubleshooting tips.
  • Need to include code? Create a gist and link to it in your comment.
  • Reporting a bug? Provide a URL where this issue can be recreated.

By commenting, I understand that I may receive emails related to Gravity Wiz and can unsubscribe at any time.