Filter: um_email_template_html_formatting

apply_filters( 'um_email_template_html_formatting', $header, $slug, $args ) → {string}

Filters email notification template header.

Parameters:
Name Type Description
$header string

Email notification header. It equals <html> by default.

$slug string

Email template slug.

$args array

Email template settings.

Since:
  • 2.0
Source:
Returns:

Email notification header.

Type
string
Example

Change email notification template header.

function my_email_template_html_formatting( $header, $slug, $args ) {
    // your code here
    return $header;
}
add_filter( 'um_email_template_html_formatting', 'my_email_template_html_formatting', 10, 3 );