vfbp_skip_autoresponder

Description

Filter whether or not to send the Autoresponder email.

Passing a falsey value to the filter will effectively short-circut send the Autoresponder email.

Parameters

$setting
(bool) (required) The setting to return
Default: false

$form_id
(int) (optional) The form ID
Default: the form ID

$entry_id
(int) (optional) The entry ID
Default: the entry ID

Examples

Skip Autoresponder email for form ID 114:

add_filter( 'vfbp_skip_autoresponder', 'filter_vfbp_skip_autoresponder', 10, 3 );

function filter_vfbp_skip_autoresponder( $setting, $form_id, $entry_id ){
    if ( 114 == $form_id )
        return true;
}