gpep_single_token_mode

  1. Description
  2. Usage
  3. Parameters

Description

Filter whether multiple tokens can be used to populate a form.

Token entries are always stored in the session but only the current token entry is used to populate the form. Use this filter to allow data aggregated from multiple tokens to populate the form.

Usage

add_filter( 'gpep_single_token_mode', '__return_true' );

Parameters

  • single_token_mode bool

    Use only the current token entry if a token is passed (Default: true)

  • target_form array

    The current GF form array

  • source_form array

    The source GF form array