Description
Filter the default choice label for choice-based fields that are dynamically populated and depend on another field that’s not filled out.
Usage
Filter the missing filter choice label for all fields.
add_filter( 'gppa_missing_filter_text', 'my_custom_function' );
Parameters
Since
This filter is available since GP Populate Anything 1.0.
Examples
Change the “Fill Out Other Fields” Text
<?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 );