fg_easypassthrough_field_values

Description

This filter is allows you to modify the passthrough field values prepared for a form.

Usage

add_filter( 'fg_easypassthrough_field_values', 'your_function_name', 10, 2 );

Parameters

  • $field_values array

    The prepared field values to be passed through.

  • $form_id int

    The ID of the form being populated.

Examples

Disabling Passthrough With Query Parameter

This example prevents field values from being passed through from another form by adding passthrough=0 to the query parameters.