do_action( 'um_before_email_template_body', $slug, $args )
Fires before email template body display.
Parameters:
Name | Type | Description |
---|---|---|
$slug |
string | Email template slug. |
$args |
array | Email template settings. |
- Since:
- 2.0
- Source:
Example
function my_before_email_template_body( $slug, $args ) {
// your code here
}
add_action( 'um_before_email_template_body', 'my_before_email_template_body', 10, 2 );