Always display shipping address in WooCommerce email notifications Always display shipping address in WooCommerce email notifications wordpress wordpress

Always display shipping address in WooCommerce email notifications


This can be done using one simple line of code:

add_filter( 'woocommerce_order_needs_shipping_address', '__return_true' );

Code goes in function.php file of your active child theme (or active theme). Tested and works.


Here's a filter hook that fixed the issue. This will show shipping address on order emails no matter what shipping method is used to checkout. Add this to functions.php:

function show_ship_add_for_local_pickup( $needs_address, $hide ) {    $needs_address = true;    return $needs_address;}add_filter( 'woocommerce_order_needs_shipping_address', 'show_ship_add_for_local_pickup', 10, 2 );