gpep_prefer_dynamic_population

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

Description

Modify whether to prefer existing dynamic population over values that are populated using Easy Passthrough.

Usage

Apply to all applicable fields on all forms.

add_filter( 'gpep_prefer_dynamic_population', 'my_custom_function' );

Apply to all applicable fields on a specific form.

add_filter( 'gpep_prefer_dynamic_population_FORMID', 'my_custom_function' );

Apply to a specific field on a specific form.

add_filter( 'gpep_prefer_dynamic_population_FORMID_FIELDID', 'my_custom_function' );

Parameters

  • prefer_dynamic_population boolean

    Whether to prefer existing dynamic population if value is present.

  • field GF_Field

    The current field.

  • form array

    The current form.

Since

This action is available since Gravity Forms Easy Passthrough 1.9.6.