um_before_email_template_part
Hook type
Action
Description
Action before email template loading
Parameters
$slug
(string) Email template slug
$located
(string) Email template location
$args
(array) Email template arguments
Usage
add_action( 'um_before_email_template_part', 'function_name', 10, 3 );
Examples
<?php add_action( 'um_before_email_template_part', 'my_before_email_template_part', 10, 3 ); function my_before_email_template_part( $slug, $located, $args ) { // your code here } ?>
Change Log
Since: 2.0
Source
um_before_email_template_part
is located in includes/core/class-mail.php::line 176