WC_Abstract_Legacy_Order::get_order_currency()publicWC 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 function with the same one.

Get currency.

Method of the class: WC_Abstract_Legacy_Order{}

Hooks from the method

Returns

null. Nothing (null).

Usage

$WC_Abstract_Legacy_Order = new WC_Abstract_Legacy_Order();
$WC_Abstract_Legacy_Order->get_order_currency();

Changelog

Deprecated since 3.0.0

WC_Abstract_Legacy_Order::get_order_currency() code WC 9.8.4

public function get_order_currency() {
	wc_deprecated_function( 'WC_Order::get_order_currency', '3.0', 'WC_Order::get_currency' );
	return apply_filters( 'woocommerce_get_order_currency', $this->get_currency(), $this );
}