gppa_max_property_values_in_editor

  1. Description
  2. Usage
  3. Parameters
  4. Examples
    1. Raise max property values

Description

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

Usage

Adjust the max property values in the form editor.

add_filter( 'gppa_max_property_values_in_editor', 'my_custom_function' );

Parameters

  • max_property_values int

    Max number of property values that can be displayed. Default: 1,000

Examples

Raise max property values

Raise the max number of property values to 2,500.

<?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;
} );