woocommerce_email_header, $email_heading, $email

woocommerce_email_header, $email_heading, $email

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('woocommerce_email_header, $email_heading, $email') is found 24 times:

  • /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 );

    ?>

  • /templates/emails/admin-cancelled-order.php line 29
     
    /*
     * @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 &mdash; order #%1$s belonging to %2$s has been cancelled:', 'woocommerce' );
    if ( $email_improvements_enabled ) {
    
  • /templates/emails/admin-failed-order.php line 29
     
    /*
     * @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 ) {
    
  • /templates/emails/admin-new-order.php line 27
     
    /*
     * @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 ) {
    
  • /templates/emails/admin-payment-gateway-enabled.php line 30

    *
    * @hooked WC_Emails::email_header() Output the email header.
    * @since 10.7.0
    */
    do_action( ‘woocommerce_email_header’, $email_heading, $email ); ?>

    ‘ : ”; ?>

  • /templates/emails/customer-abandoned-cart-recovery.php line 35
     * @since 2.5.0
     *
     * @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 ( $order instanceof WC_Order && ! empty( $order->get_billing_first_name() ) ) {
    	/* translators: %s: Customer first name */
    
  • /templates/emails/customer-cancelled-order.php line 32
     *
     * @hooked WC_Emails::email_header() Output the email header
     * @since 2.5.0
     */
    do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
    
    <?php
    echo $email_improvements_enabled ? '<div class="email-introduction">' : '';
    /* translators: %1$s: Order number */
    $text = __( 'We’re sorry to let you know that your order #%1$s has been cancelled.', 'woocommerce' );
    if ( $email_improvements_enabled ) {
    
  • /templates/emails/customer-completed-order.php line 29
     
    /*
     * @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 */
    
  • /templates/emails/customer-failed-order.php line 32
     *
     * @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 */
    
  • /templates/emails/customer-fulfillment-created.php line 29

    * @since 2.5.0
    *
    * @hooked WC_Emails::email_header() Output the email header
    */
    do_action( ‘woocommerce_email_header’, $email_heading, $email ); ?>

  • /templates/emails/customer-fulfillment-deleted.php line 29

    * @since 2.5.0
    *
    * @hooked WC_Emails::email_header() Output the email header
    */
    do_action( ‘woocommerce_email_header’, $email_heading, $email ); ?>

  • /templates/emails/customer-fulfillment-updated.php line 29
     * @since 2.5.0
     *
     * @hooked WC_Emails::email_header() Output the email header
     */
    do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
    
    <div class="email-introduction">
    	<p><?php echo esc_html__( 'Some details of your shipment have recently been updated. This may include tracking information, item contents, or delivery status.', 'woocommerce' ); ?></p>
    	<p><?php echo esc_html__( 'Here’s the latest info we have:', 'woocommerce' ); ?></p>
    </div>
    
    
  • /templates/emails/customer-invoice.php line 32
     * 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 */
    
  • /templates/emails/customer-new-account.php line 31
     * @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 first name, or username if name is not available */ ?>
    <p><?php printf( esc_html__( 'Hi %s,', 'woocommerce' ), esc_html( $user_display_name ) ); ?></p>
    <?php if ( $email_improvements_enabled ) : ?>
    	<?php /* translators: %s: Site title */ ?>
    
  • /templates/emails/customer-note.php line 29
     
    /*
     * @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 */
    
  • /templates/emails/customer-on-hold-order.php line 27
     
    /*
     * @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 */
    
  • /templates/emails/customer-processing-order.php line 29
     
    /*
     * @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 */
    
  • /templates/emails/customer-refunded-order.php line 27
     
    /*
     * @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 */
    
  • /templates/emails/customer-reset-password.php line 28
    $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 first name, or username if name is not available */ ?>
    <p><?php printf( esc_html__( 'Hi %s,', 'woocommerce' ), esc_html( $user_display_name ) ); ?></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>
    
  • /templates/emails/customer-review-request.php line 35
     * @since 2.5.0
     *
     * @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 */
    
  • /templates/emails/customer-stock-notification-verified.php line 30
     * @since 10.2.0
     *
     * @hooked WC_Emails::email_header() Output the email header
     */
    do_action( 'woocommerce_email_header', $email_heading, $email );
    
    ?>
    
    <table border="0" cellpadding="0" cellspacing="0" id="notification__container"><tr><td>
    
    	<div id="notification__into_content">
    
  • /templates/emails/customer-stock-notification-verify.php line 30
     * @since 10.2.0
     *
     * @hooked WC_Emails::email_header() Output the email header
     */
    do_action( 'woocommerce_email_header', $email_heading, $email );
    
    ?>
    
    <table border="0" cellpadding="0" cellspacing="0" id="notification__container"><tr><td>
    
    	<div id="notification__into_content">
    
  • /templates/emails/customer-stock-notification.php line 30
     * @since 10.2.0
     *
     * @hooked WC_Emails::email_header() Output the email header
     */
    do_action( 'woocommerce_email_header', $email_heading, $email );
    
    ?>
    
    <table border="0" cellpadding="0" cellspacing="0" id="notification__container"><tr><td>
    
    	<div id="notification__into_content">
    
  • /templates/emails/customer-verify-email.php line 41
     * @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 first name, or username if name is not available. */ ?>
    <p><?php printf( esc_html__( 'Hi %s,', 'woocommerce' ), esc_html( $user_display_name ) ); ?></p>
    <?php /* translators: %s: the customer's email address. */ ?>