WordPress at a glance

get_woocommerce_currency() WC 1.0

Get Base Currency Code.

Works based on: get_option()
✈ 1 time = 0.001569s = very slow | 50000 times = 1.66s = fast PHP 7.1.5, WP 4.9.1
Hooks from function:
Return

String.

Usage

get_woocommerce_currency();

Code of get_woocommerce_currency: woocommerce/includes/wc-core-functions.php VER 3.4.4

<?php
function get_woocommerce_currency() {
	return apply_filters( 'woocommerce_currency', get_option( 'woocommerce_currency' ) );
}

Related Functions

From category: WooCommerce

No comments
    Hello, !     Log In . Register