Filter: um_locate_email_template

apply_filters( 'um_locate_email_template', $template, $template_name ) → {string}

Filters email notification template path.

Parameters:
Name Type Description
$template string

Email notification template path.

$template_name string

Email notification template name.

Since:
  • 2.0
Source:
Returns:

Email notification template path.

Type
string
Example

Change email notification template path.

function my_locate_email_template( $template, $template_name ) {
    // your code here
    return $template;
}
add_filter( 'um_locate_email_template', 'my_locate_email_template', 10, 2 );