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

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

add_filter( 'woocommerce_get_order_currency', 'wp_kama_woocommerce_get_order_currency_filter', 10, 2 );

/**
 * Function for `woocommerce_get_order_currency` filter-hook.
 * 
 * @param  $currency 
 * @param  $that     
 *
 * @return 
 */
function wp_kama_woocommerce_get_order_currency_filter( $currency, $that ){

	// filter...
	return $currency;
}
$currency
-
$that
-

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

WC_Abstract_Legacy_Order::get_order_currency()
woocommerce_get_order_currency
woocommerce/includes/legacy/abstract-wc-legacy-order.php 754
return apply_filters( 'woocommerce_get_order_currency', $this->get_currency(), $this );

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

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