gpi_property_map_values

  1. Description
  2. Usage
  3. Parameters
  4. Since

Description

Filter to modify the values that are used for scopes when querying the inventory.

Usage

Apply to all forms.

add_filter( 'gpi_property_map_values', 'my_custom_function' );

Apply to a specific form.

add_filter( 'gpi_property_map_values_FORMID', 'my_custom_function' );

Apply to a specific input.

add_filter( 'gpi_property_map_values_FORMID_INPUTID', 'my_custom_function' );

Parameters

  • property_map_values array

    Values used for the scopes/properties. Defaults to the submitted values from the form or the default value/dynamically populated if not already submitted.

  • field GF_Field

    The current field.

  • form array

    The current form.

Since

This filter is available since Gravity Forms Inventory 1.0-beta-1.7.