woocommerce_order_shipping_to_display_tax_label хук-фильтрWC 1.0

Использование

add_filter( 'woocommerce_order_shipping_to_display_tax_label', 'wp_kama_woocommerce_order_shipping_to_display_tax_label_filter', 10, 3 );

/**
 * Function for `woocommerce_order_shipping_to_display_tax_label` filter-hook.
 * 
 * @param  $html        
 * @param  $that        
 * @param  $tax_display 
 *
 * @return 
 */
function wp_kama_woocommerce_order_shipping_to_display_tax_label_filter( $html, $that, $tax_display ){

	// filter...
	return $html;
}
$html
-
$that
-
$tax_display
-

Где вызывается хук

WC_Abstract_Order::get_shipping_to_display()
woocommerce_order_shipping_to_display_tax_label
woocommerce/includes/abstracts/abstract-wc-order.php 2200
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', '&nbsp;<small class="tax_label">' . WC()->countries->ex_tax_or_vat() . '</small>', $this, $tax_display );
woocommerce/includes/abstracts/abstract-wc-order.php 2208
$shipping .= apply_filters( 'woocommerce_order_shipping_to_display_tax_label', '&nbsp;<small class="tax_label">' . WC()->countries->inc_tax_or_vat() . '</small>', $this, $tax_display );

Где используется хук в WooCommerce

Использование не найдено.