Automattic\WooCommerce\StoreApi\Routes\V1\Ucp

AbstractCatalogRoute::store_currency │ protected │ WC 1.0

Get the store's configured currency code.

Метод класса: AbstractCatalogRoute{}

Хуков нет.

Возвращает

string.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->store_currency(): string;

Код AbstractCatalogRoute::store_currency() WC 11.3.0

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