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


null. Nothing (null).


$WC_Abstract_Legacy_Order = new WC_Abstract_Legacy_Order();


Deprecated since 3.0.0

WC_Abstract_Legacy_Order::get_order_currency() code WC 8.9.0

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