Action
rpress_email_body_header
Fires after the opening body tag of the deprecated email header markup.
Runs inside the deprecated rpress_get_email_body_header(), after the html, head and opening body tags have been output to a buffer. The current email templates use rpress_email_header instead.
Example#
function my_email_body_header() {
echo '<div class="my-banner">Welcome</div>';
}
add_action( 'rpress_email_body_header', 'my_email_body_header' );
Notes#
Deprecated since 2.0. Use the email template parts and rpress_email_header instead.
Source#
Fired from:
includes/deprecated-functions.php(line 271), inrpress_get_email_body_header()
See also#
Was this page helpful?
