gppa_prepopulate_field_values

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

Description

Filter the values that will be used as pre-populated values for Populate Anything. Common use-cases here are pulling in values from other perks such as Easy Passthrough, using values from parameters, etc.

Usage

Filter pre-populated values for all forms.

add_filter( 'gppa_prepopulate_field_values', 'my_custom_function' );

Filter pre-populated values for a specific form.

add_filter( 'gppa_prepopulate_field_values_FORMID', 'my_custom_function' );

Parameters

  • prepopulate_values array

    The prepopulated values.

  • form array

    The current form.

Since

This filter is available since Gravity Forms Populate Anything 1.2.15.