Change “Fill Out Other Fields” Text

Code

Filename: gppa-change-fill-out-other-fields-text.php

<?php
/**
 * Gravity Perks // Populate Anything // Change "Fill Out Other Fields" Text
 * https://gravitywiz.com/documentation/gravity-forms-populate-anything/
 */
add_filter( 'gppa_missing_filter_text', function( $value, $field ) {
	if ( $field->id == 4 ) {
		$value = 'Use Search Field Above to Get Results';
	}

	return $value;
}, 10, 2 );

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.