gravityflowformconnector_update_field_values_form
The gravityflowformconnector_update_field_values_form filter allows the form to be modified before it is processed for updating field values into another entry.
Parameters
Parameter | Type | Definition |
---|---|---|
$form | Array | The current form array. |
$entry | Array | The current entry array. |
Examples
Change the input form object which will be used for mapping field values from.
add_filter( 'gravityflowformconnector_update_field_values_form', 'jo_gffc_update_field_form', 10, 2 ); function jo_gffc_update_field_form( $form, $entry ) { //Select a different form to process the update field values entry step in comparison to $new_form = GFAPI::get_form( '49' ); if ( $new_form ) { return $new_form; } return $form; }
Placement
This code should be placed in the functions.php file of your active theme or in a custom functions plugin.