woocommerce_get_order_currency filter-hookWC 1.0

Deprecated from version 3.0.0. It is no longer supported and can be removed in future releases. It is recommended to replace this hook with the same one.

Deprecated: 3.0.0

Get currency.

Usage

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
-

Changelog

Deprecated since 3.0.0

Where the hook is called

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 );

Where the hook is used in WooCommerce

Usage not found.