um_change_email_template_file

Hook type

Filter

Description

Change email notification template path

Parameters

$template_name

(string) Template Name

Usage

<?php add_filter( 'um_change_email_template_file', 'function_name', 10, 1 ); ?>

Examples

<?php
add_filter( 'um_change_email_template_file', 'my_change_email_template_file', 10, 1 );
function my_change_email_template_file( $template, $template_name ) {
    // your code here
return $template;
}
?>

Change Log

Since: 2.0

Source

um_change_email_template_file is located in includes/core/class-mail.php::line 380