Description
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
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 can be used in the functions.php file of the active theme, a custom functions plugin, a custom add-on, or with a code snippets plugin.
See also the PHP section in this article: Where Do I Put This Code?