gpns_unsubscribe_email
Description
Filter the email address used when processing an unsubscribe request. Return false to prevent unsubscribing the email.
Usage
Filter the email address used when processing all unsubscribe requests.
add_filter( 'gpns_unsubscribe_email', 'my_custom_function' );
Filter the email address used when processing all unsubscribe requests for a specific form.
add_filter( 'gpns_unsubscribe_email_FORMID', 'my_custom_function' );
Parameters
email string
string The email address to unsubscribe.
scope string
string The scope of the unsubscribe action. Can be
all
,form_id
, ornid
form_id int
int The form ID.
notification_id string
string The notification ID.
Since
This filter is available since Gravity Forms Notification Scheduler 1.3.4.