Automattic\WooCommerce\Internal\Admin\EmailPreview
EmailPreview::enable_shipping_address()
Enable shipping address in the preview email. Not using __return_true so we don't accidentally remove the same filter used by other plugin or theme.
Method of the class: EmailPreview{}
No Hooks.
Return
true
.
Usage
$EmailPreview = new EmailPreview(); $EmailPreview->enable_shipping_address();
EmailPreview::enable_shipping_address() EmailPreview::enable shipping address code WC 9.7.1
public function enable_shipping_address() { return true; }