gcgc_should_delete_calendar_event
Description
Disable Google Calendar event deletion when the “edit_rows” config option is enabled.
Usage
Applied globally
add_filter( 'gcgc_should_delete_calendar_event', 'my_custom_function' );Applied to specific form
add_filter( 'gcgc_should_delete_calendar_event_FORMID', 'my_custom_function' );Parameters
$should_edit_calendar_event
bool
Whether or not the Google Calendar event should be deleted. Default is if the “edit_rows” config option value.
$form
array
The current form.
$feed
array
The current feed.
$entry
array
The current entry.
Since
1.0Hook added.