um_email_template_body_attrs

Hook type

Filter

Description

Change email notification template body additional attributes

Parameters

$body_atts

(string) Email notification body attributes

$slug

(string) Template Key

$args

(array) Template settings

Usage

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

Examples

<?php
add_filter( 'um_email_template_body_attrs', 'my_email_template_body_attrs', 10, 3 );
function my_email_template_body_attrs( $body_atts, $slug, $args ) {
    // your code here
return $body_atts;
}
?>

Change Log

Since: 2.0

Source

um_email_template_body_attrs is located in includes/core/class-mail.php::line 288