Filter: um_change_email_template_file

apply_filters( 'um_change_email_template_file', $template_name ) → {string}

Filters email notification template name.

Parameters:
Name Type Description
$template_name string

Email template Name.

Since:
  • 2.0
Source:
Returns:

Email template Name.

Type
string
Example

Change email notification template path.

function my_change_email_template_file( $template_name ) {
    // your code here
    return $template_name;
}
add_filter( 'um_change_email_template_file', 'my_change_email_template_file' );