Filter: um_email_template_path

apply_filters( 'um_email_template_path', $located, $slug, $args ) → {string}

Filters email template location.

Parameters:
Name Type Description
$located string

Email template location.

$slug string

Email template slug.

$args array

Email template settings.

Since:
  • 1.3.x
Source:
Returns:

Email template location.

Type
string
Example

Change email template location.

function my_email_template_path( $located, $slug, $args ) {
    // your code here
    return $located;
}
add_filter( 'um_email_template_path', 'my_email_template_path', 10, 3 );