Action: um_before_email_notification_sending

do_action( 'um_before_email_notification_sending', $email, $template, $args )

Fires before email notification sending.

Parameters:
Name Type Description
$email string

Email template slug.

$template string

Email template settings.

$args array

Arguments for sending email.

Since:
  • 2.0
Source:
Example

Action before email notification sending.

function my_before_email_notification_sending( $email, $template, $args ) {
    // your code here
}
add_action( 'um_before_email_notification_sending', 'my_before_email_notification_sending', 10, 3 );