woocommerce_email_customer_address_section
woocommerce_email_customer_address_section
Appears in: 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
Hook Type: action
See hook in action
Displaying hooks found in version: woocommerce.9.2.3do_action('woocommerce_email_customer_address_section') is found 4 times:
- /templates/emails/email-addresses.php line 50
* @param WC_Order $order Order instance. * @param bool $sent_to_admin If this email is being sent to the admin or not. * @param bool $plain_text If this email is plain text or not. */ do_action( 'woocommerce_email_customer_address_section', 'billing', $order, $sent_to_admin, false ); ?> </address> </td> <?php if ( ! wc_ship_to_billing_address_only() && $order->needs_shipping_address() && $shipping ) : ?> <td style="text-align:<?php echo esc_attr( $text_align ); ?>; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; padding:0;" valign="top" width="50%"> <h2><?php esc_html_e( 'Shipping address', 'woocommerce' ); ?></h2>
- /templates/emails/email-addresses.php line 74
* @param WC_Order $order Order instance. * @param bool $sent_to_admin If this email is being sent to the admin or not. * @param bool $plain_text If this email is plain text or not. */ do_action( 'woocommerce_email_customer_address_section', 'shipping', $order, $sent_to_admin, false ); ?> </address> </td> <?php endif; ?> </tr> </table>
- /templates/emails/plain/email-addresses.php line 41
* @param WC_Order $order Order instance. * @param bool $sent_to_admin If this email is being sent to the admin or not. * @param bool $plain_text If this email is plain text or not. */ do_action( 'woocommerce_email_customer_address_section', 'billing', $order, $sent_to_admin, true ); if ( ! wc_ship_to_billing_address_only() && $order->needs_shipping_address() ) { $shipping = $order->get_formatted_shipping_address(); if ( $shipping ) { echo "\n" . esc_html( wc_strtoupper( esc_html__( 'Shipping address', 'woocommerce' ) ) ) . "\n\n";
- /templates/emails/plain/email-addresses.php line 64
Warning: Undefined array key 66 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167
Warning: Undefined array key 67 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167
Warning: Undefined array key 68 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167
Warning: Undefined array key 69 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167
* @param WC_Order $order Order instance. * @param bool $sent_to_admin If this email is being sent to the admin or not. * @param bool $plain_text If this email is plain text or not. */ do_action( 'woocommerce_email_customer_address_section', 'shipping', $order, $sent_to_admin, true ); } }