um_email_template_html_formatting

Hook type

Filter

Description

Change email notification template header

Parameters

$header

(string) Email notification header. '' by default

$slug

(string) Template Key

$args

(array) Template settings

Usage

<?php add_filter( 'um_email_template_html_formatting', 'function_name', 10, 3 ); ?>

Examples

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

Change Log

Since: 2.0

Source

um_email_template_html_formatting is located in includes/core/class-mail.php::line 241