woocommerce_order_shipping_to_display_tax_label filter-hook . WC 1.0
Usage
add_filter( 'woocommerce_order_shipping_to_display_tax_label', 'filter_function_name_1813', 10, 3 ); function filter_function_name_1813( $html, $that, $tax_display ){ // filter... return $html; }
- $html
- -
- $that
- -
- $tax_display
- -
Where the hook is called
woocommerce_order_shipping_to_display_tax_label
woocommerce/includes/abstracts/abstract-wc-order.php 1980
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>', $this, $tax_display );
woocommerce/includes/abstracts/abstract-wc-order.php 1988
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', ' <small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>', $this, $tax_display );