gcgs_feed_action
Description
⚠️ EXPERIMENTAL HOOK ⚠️ Filters the “mode” that the feed will be processed in. This allows form submissions to update a Google Sheet based on the value of a Field Mapping or the value defined by the gcgs_lookup_field filter).
Usage
Applied globally
add_filter( 'gcgs_feed_action', 'my_custom_function' );Applied to specific form
add_filter( 'gcgs_feed_action_FORMID', 'my_custom_function' );Applied to specific feed
add_filter( 'gcgs_feed_action_FORMID_FEEDID', 'my_custom_function' );Parameters
$mode
string
The mode that the entry should be processed in. Possible values are “add” or “edit” (default is “add”)
$form
array
The form being processed.
$feed
array
The feed being processed.
$entry
array
The entry being processed.
Since
1.3.9Hook added.