Automattic\WooCommerce\StoreApi\Routes\V1\Ucp

AbstractCatalogRoute::store_currency │ protected │ WC 1.0

Get the store's configured currency code.

Method of the class: AbstractCatalogRoute{}

No Hooks.

Returns

string.

Usage

// protected - for code of main (parent) or child class
$result = $this->store_currency(): string;

AbstractCatalogRoute::store_currency() code WC 11.3.0

protected function store_currency(): string {
	return (string) get_woocommerce_currency();
}