WordPress at Your Fingertips
function is not described

WC_Abstract_Order::get_currency() public WC 1.0

Gets order currency.

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

No Hooks.

Return

String.

Usage

$WC_Abstract_Order = new WC_Abstract_Order();
$WC_Abstract_Order->get_currency( $context );
$context(string)
View or edit context.
Default: 'view'

Code of WC_Abstract_Order::get_currency() WC 5.9.0

public function get_currency( $context = 'view' ) {
	return $this->get_prop( 'currency', $context );
}