Filter: sensei_send_emails

apply_filters( 'sensei_send_emails', $send_email, $to, $subject, $message, $identifier ) → {bool}

Filter Sensei's ability to send out emails.

Parameters:
Name Type Description
$send_email bool

Whether to send the email or not.

$to mixed

The email address(es) to send the email to.

$subject mixed

The subject of the email.

$message mixed

The message of the email.

$identifier string

Unique identifier of the email, not for legacy emails.

Since:
  • 1.24.0 The `$identifier` parameter was added.
Source:
Returns:

Whether to send the email or not.

Type
bool