Automattic\WooCommerce\StoreApi\Routes\V1\Ucp
AbstractCatalogRoute::store_currency
Get the store's configured currency code.
Метод класса: AbstractCatalogRoute{}
Хуков нет.
Возвращает
string.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->store_currency(): string;
Код AbstractCatalogRoute::store_currency() AbstractCatalogRoute::store currency WC 11.3.0
protected function store_currency(): string {
return (string) get_woocommerce_currency();
}