Created
November 6, 2022 20:33
-
-
Save yuriinalivaiko/ee009633277e119f1b1b7309e7360b47 to your computer and use it in GitHub Desktop.
Hook um_after_email_template_part
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Hook: um_after_email_template_part | |
* | |
* Type: action | |
* | |
* Description: Fires after email template loading. | |
* May be used to display custom content below the main email message. | |
* | |
* @example https://github.com/ultimatemember/ultimatemember/blob/master/includes/core/class-mail.php#L242 | |
* @link https://docs.ultimatemember.com/article/1015-umafteremailtemplatepart | |
* | |
* @package um\core | |
* @see um\core\Mail::get_email_template() | |
* @since 2.0 | |
* @deprecated since version 3.0 | |
* | |
* @param string $template Template key. | |
* @param string $template_path Template location. | |
* @param array $args Template settings. | |
*/ | |
function my_after_email_template_part( $template, $template_path, $args ) { | |
// your code here. | |
} | |
add_action( 'um_after_email_template_part', 'my_after_email_template_part', 10, 3 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment