gravityflowformconnector_update_entry_form

Description

The gravityflowformconnector_update_entry_form filter allows the form of entry for update to be customized/hydrated.

Parameters

ParameterTypeDefinition
$formFormThe current form array.
$entryEntryThe current entry array.

Examples

add_action( 'gravityflowformconnector_update_entry_form', 'jo_hydrate_entry_form', 10, 2 );
function jo_hydrate_entry_form( $form, $entry ) {
	// Customize the form object as needed.
	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?