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.

{} It's a method of the class: WC_Abstract_Legacy_Order{}

Hooks from the method

Return

null. Nothing.

Usage

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

Changelog

Deprecated since 3.0.0

Code of WC_Abstract_Legacy_Order::get_order_currency() WC 7.1.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 );
}