gpdec_should_delete_entry
Description
Filter whether an entry should be deleted. Use this filter to add delayed entry deletion scenarios.
Usage
Filter whether an entry should be deleted for all forms.
add_filter( 'gpdec_should_delete_entry', '__return_true' );
Filter whether an entry should be deleted for a specific form.
add_filter( 'gpdec_should_delete_entry_FORMID', '__return_true' );
Parameters
should_delete_entry bool
Whether entry should be deleted.
entry array
Current entry.
form array
Current form.
Since
This filter is available since Gravity Forms Disable Entry Creation 2.0.2.