woocommerce_currency filter-hookWC 1.0

Get Base Currency Code.

Usage

add_filter( 'woocommerce_currency', 'wp_kama_woocommerce_currency_filter' );

/**
 * Function for `woocommerce_currency` filter-hook.
 * 
 * @param  $option 
 *
 * @return 
 */
function wp_kama_woocommerce_currency_filter( $option ){

	// filter...
	return $option;
}
$option
-

Where the hook is called

get_woocommerce_currency()
woocommerce_currency
woocommerce/includes/wc-core-functions.php 474
return apply_filters( 'woocommerce_currency', get_option( 'woocommerce_currency' ) );

Where the hook is used in WooCommerce

Usage not found.