Modify Max Properties Displayed in Editor

Modify the max number of property values that can be displayed in a property value select in the Form Editor for Populate Anything.

Code

Filename: gppa-modify-max-property-values.php

<?php
/**
 * Gravity Perks // GP Populate Anything // Modify Max Properties Displayed in Editor
 * https://gravitywiz.com/documentation/gravity-forms-populate-anything/
 *
 * Modify the max number of property values that can be displayed in a property value select in the Form Editor for Populate Anything.
 */
add_filter( 'gppa_max_property_values_in_editor', function( $max_property_values ) {
	// Update "2500" to the max number of property values that can be displayed in the editor.
	return 2500;
} );

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.