woocommerce_email_header
woocommerce_email_header
Appears in: woocommerce.10.0.4, woocommerce.10.1.2, woocommerce.3.4.2, woocommerce.3.4.4, woocommerce.3.4.5, woocommerce.3.4.6, woocommerce.3.4.7, woocommerce.3.5.0, woocommerce.3.5.1, woocommerce.3.5.2, woocommerce.3.5.3, woocommerce.3.5.4, woocommerce.3.5.5, woocommerce.3.5.6, woocommerce.3.5.7, woocommerce.3.5.8, woocommerce.3.6.1, woocommerce.3.6.2, woocommerce.3.6.3, woocommerce.3.6.4, woocommerce.3.6.5, woocommerce.3.7.0, woocommerce.3.7.1, woocommerce.3.8.0, woocommerce.3.8.1, woocommerce.3.9.0, woocommerce.3.9.1, woocommerce.3.9.2, woocommerce.3.9.3, woocommerce.4.0.0, woocommerce.4.0.1, woocommerce.4.1.0, woocommerce.4.1.1, woocommerce.4.2.0, woocommerce.4.2.1, woocommerce.4.3.0, woocommerce.4.3.1, woocommerce.4.3.2, woocommerce.4.3.3, woocommerce.4.4.0, woocommerce.4.4.1, woocommerce.4.5.1, woocommerce.4.5.2, woocommerce.4.6.0, woocommerce.4.6.1, woocommerce.4.6.2, woocommerce.4.7.0, woocommerce.4.7.1, woocommerce.4.8.0, woocommerce.4.9.0, woocommerce.4.9.1, woocommerce.4.9.2, woocommerce.5.0.0, woocommerce.5.1.0, woocommerce.5.2.0, woocommerce.5.2.1, woocommerce.5.2.2, woocommerce.5.3.0, woocommerce.5.4.0, woocommerce.5.4.1, woocommerce.5.5.0, woocommerce.5.5.1, woocommerce.5.5.2, woocommerce.5.6.0, woocommerce.5.6.1, woocommerce.5.7.0, woocommerce.5.7.1, woocommerce.5.8.0, woocommerce.6.3.1, woocommerce.6.4.1, woocommerce.6.5.1, woocommerce.6.6.1, woocommerce.6.7.0, woocommerce.6.8.0, woocommerce.6.8.1, woocommerce.6.8.2, woocommerce.6.9.0, woocommerce.6.9.4, woocommerce.7.0.0, woocommerce.7.1.0, woocommerce.7.1.1, woocommerce.7.2.2, woocommerce.7.3.0, woocommerce.7.4.0, woocommerce.7.4.1, woocommerce.7.5.1, woocommerce.7.6.0, woocommerce.7.6.1, woocommerce.7.7.0, woocommerce.7.7.1, woocommerce.7.8.1, woocommerce.7.9.0, woocommerce.8.0.2, woocommerce.8.0.3, woocommerce.8.1.1, woocommerce.8.2.1, woocommerce.8.2.2, woocommerce.8.3.1, woocommerce.8.4.0, woocommerce.8.5.1, woocommerce.8.5.2, woocommerce.8.6.0, woocommerce.8.6.1, woocommerce.8.7.0, woocommerce.8.8.3, woocommerce.8.9.2, woocommerce.8.9.3, woocommerce.9.0.2, woocommerce.9.1.2, woocommerce.9.1.4, woocommerce.9.2.2, woocommerce.9.2.3, woocommerce.9.3.1, woocommerce.9.3.3, woocommerce.9.4.2, woocommerce.9.4.3, woocommerce.9.5.1, woocommerce.9.5.2, woocommerce.9.7.0, woocommerce.9.7.1, woocommerce.9.8.1, woocommerce.9.8.5, woocommerce.9.9.3, woocommerce.9.9.5
Hook Type: action
See hook in action
Displaying hooks found in version: woocommerce.9.9.5do_action('woocommerce_email_header') is found 17 times:
- /includes/class-wc-emails.php line 365
public function wrap_message( $email_heading, $message, $plain_text = false ) { // Buffer. ob_start(); do_action( 'woocommerce_email_header', $email_heading, null ); echo wpautop( wptexturize( $message ) ); // WPCS: XSS ok. do_action( 'woocommerce_email_footer', null ); // Get contents.
- /includes/react-admin/emails/html-admin-report-export-download.php line 13
/*
* @hooked WC_Emails::email_header() Output the email header
*/
do_action( ‘woocommerce_email_header’, $email_heading, $email );
/* * @hooked WC_Emails::email_header() Output the email header */ do_action( 'woocommerce_email_header', $email_heading, $email ); ?> <?php echo $email_improvements_enabled ? '<div class="email-introduction">' : ''; /* translators: %1$s: Order number. %2$s: Customer full name */ $text = __( 'Notification to let you know — order #%1$s belonging to %2$s has been cancelled:', 'woocommerce' ); if ( $email_improvements_enabled ) {
/* * @hooked WC_Emails::email_header() Output the email header */ do_action( 'woocommerce_email_header', $email_heading, $email ); ?> <?php echo $email_improvements_enabled ? '<div class="email-introduction">' : ''; /* translators: %1$s: Order number. %2$s: Customer full name. */ $text = __( 'Payment for order #%1$s from %2$s has failed. The order was as follows:', 'woocommerce' ); if ( $email_improvements_enabled ) {
/* * @hooked WC_Emails::email_header() Output the email header */ do_action( 'woocommerce_email_header', $email_heading, $email ); ?> <?php echo $email_improvements_enabled ? '<div class="email-introduction">' : ''; /* translators: %s: Customer billing full name */ $text = __( 'You’ve received the following order from %s:', 'woocommerce' ); if ( $email_improvements_enabled ) {
/* * @hooked WC_Emails::email_header() Output the email header */ do_action( 'woocommerce_email_header', $email_heading, $email ); ?> <?php echo $email_improvements_enabled ? '<div class="email-introduction">' : ''; ?> <p> <?php if ( ! empty( $order->get_billing_first_name() ) ) { /* translators: %s: Customer first name */
* * @hooked WC_Emails::email_header() Output the email header * @since 3.7.0 */ do_action( 'woocommerce_email_header', $email_heading, $email ); ?> <?php echo $email_improvements_enabled ? '<div class="email-introduction">' : ''; ?> <p> <?php if ( ! empty( $order->get_billing_first_name() ) ) { /* translators: %s: Customer first name */
* Executes the e-mail header. * * @hooked WC_Emails::email_header() Output the email header */ do_action( 'woocommerce_email_header', $email_heading, $email ); ?> <?php echo $email_improvements_enabled ? '<div class="email-introduction">' : ''; ?> <p> <?php if ( ! empty( $order->get_billing_first_name() ) ) { /* translators: %s: Customer first name */
* @hooked WC_Emails::email_header() * * @since 3.7.0 */ do_action( 'woocommerce_email_header', $email_heading, $email ); ?> <?php echo $email_improvements_enabled ? '<div class="email-introduction">' : ''; ?> <?php /* translators: %s: Customer username */ ?> <p><?php printf( esc_html__( 'Hi %s,', 'woocommerce' ), esc_html( $user_login ) ); ?></p> <?php if ( $email_improvements_enabled ) : ?> <?php /* translators: %s: Site title */ ?>
defined( 'ABSPATH' ) || exit; $email_improvements_enabled = FeaturesUtil::feature_is_enabled( 'email_improvements' ); do_action( 'woocommerce_email_header', $email_heading, $email ); ?> <?php echo $email_improvements_enabled ? '<div class="email-introduction">' : ''; ?> <?php /* translators: %s: Customer username */ ?> <p><?php printf( esc_html__( 'Hi %s,', 'woocommerce' ), esc_html( $user_login ) ); ?></p> <?php if ( $email_improvements_enabled ) : ?> <?php /* translators: %s: Site title */ ?>
/* * @hooked WC_Emails::email_header() Output the email header */ do_action( 'woocommerce_email_header', $email_heading, $email ); ?> <?php echo $email_improvements_enabled ? '<div class="email-introduction">' : ''; ?> <p> <?php if ( ! empty( $order->get_billing_first_name() ) ) { /* translators: %s: Customer first name */
/* * @hooked WC_Emails::email_header() Output the email header */ do_action( 'woocommerce_email_header', $email_heading, $email ); ?> <?php echo $email_improvements_enabled ? '<div class="email-introduction">' : ''; ?> <p> <?php if ( ! empty( $order->get_billing_first_name() ) ) { /* translators: %s: Customer first name */
* * @hooked WC_Emails::email_header() Output the email header * @since 3.7.0 */ do_action( 'woocommerce_email_header', $email_heading, $email ); ?> <?php echo $email_improvements_enabled ? '<div class="email-introduction">' : ''; ?> <p> <?php if ( ! empty( $order->get_billing_first_name() ) ) { /* translators: %s: Customer first name */
* * @hooked WC_Emails::email_header() Output the email header * @since 3.7.0 */ do_action( 'woocommerce_email_header', $email_heading, $email ); ?> <?php echo $email_improvements_enabled ? '<div class="email-introduction">' : ''; ?> <p> <?php if ( ! empty( $order->get_billing_first_name() ) ) { /* translators: %s: Customer first name */
/* * @hooked WC_Emails::email_header() Output the email header */ do_action( 'woocommerce_email_header', $email_heading, $email ); ?> <?php echo $email_improvements_enabled ? '<div class="email-introduction">' : ''; ?> <p> <?php if ( ! empty( $order->get_billing_first_name() ) ) { /* translators: %s: Customer first name */
/* * @hooked WC_Emails::email_header() Output the email header */ do_action( 'woocommerce_email_header', $email_heading, $email ); ?> <?php echo $email_improvements_enabled ? '<div class="email-introduction">' : ''; ?> <p> <?php if ( ! empty( $order->get_billing_first_name() ) ) { /* translators: %s: Customer first name */
$email_improvements_enabled = FeaturesUtil::feature_is_enabled( 'email_improvements' ); ?> <?php do_action( 'woocommerce_email_header', $email_heading, $email ); ?> <?php echo $email_improvements_enabled ? '<div class="email-introduction">' : ''; ?> <?php /* translators: %s: Customer username */ ?> <p><?php printf( esc_html__( 'Hi %s,', 'woocommerce' ), esc_html( $user_login ) ); ?></p> <?php /* translators: %s: Store name */ ?> <p><?php printf( esc_html__( 'Someone has requested a new password for the following account on %s:', 'woocommerce' ), esc_html( $blogname ) ); ?></p>