do_action( 'um_before_email_template_part', $slug, $located, $args )
Fires before email template loading.
Parameters:
Name | Type | Description |
---|---|---|
$slug |
string | Email template slug. |
$located |
string | Email template location. |
$args |
array | Email template arguments. |
- Since:
- 2.0
- Source:
Example
function my_before_email_template_part( $slug, $located, $args ) {
// your code here
}
add_action( 'um_before_email_template_part', 'my_before_email_template_part', 10, 3 );