um_email_templates_path_by_slug

Hook type

Filter

Description

Extend email templates path

Parameters

$paths

(array) Email slug -> Template Path

Usage

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

Examples

<?php
add_filter( 'um_email_templates_path_by_slug', 'my_email_templates_path_by_slug', 10, 1 );
function my_email_templates_path_by_slug( $paths ) {
    // your code here
return $paths;
}
?>

Change Log

Since: 2.0

Source

um_email_templates_path_by_slug is located in includes/core/class-mail.php::line 44