1 2 3 4 | add_action( 'woocommerce_email_after_order_table' , 'wdm_add_shipping_method_to_order_email' , 10, 2 ); function wdm_add_shipping_method_to_order_email( $order , $is_admin_email ) { echo '<p><h4>Shipping:</h4> ' . $order ->get_shipping_method() . '</p>' ; } |