woocommerce_email_customer_address_section
woocommerce_email_customer_address_section
Appears in: woocommerce.10.0.4, woocommerce.10.1.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.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_customer_address_section') is found 4 times:
- /templates/emails/email-addresses.php line 57
* @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 class="font-family text-align-left" style="padding:0;" valign="top" width="50%"> <?php if ( $email_improvements_enabled ) { ?>
- /templates/emails/email-addresses.php line 85
* @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 ); } }