Action: um_before_email_template_body

do_action( 'um_before_email_template_body', $slug, $args )

Fires before email template body display.

Parameters:
Name Type Description
$slug string

Email template slug.

$args array

Email template settings.

Since:
  • 2.0
Source:
Example

Action before email template body display.

function my_before_email_template_body( $slug, $args ) {
    // your code here
}
add_action( 'um_before_email_template_body', 'my_before_email_template_body', 10, 2 );