wc_currency_settings filter-hookWC 1.0

Usage

add_filter( 'wc_currency_settings', 'wp_kama_wc_currency_settings_filter' );

/**
 * Function for `wc_currency_settings` filter-hook.
 * 
 * @param  $array 
 *
 * @return 
 */
function wp_kama_wc_currency_settings_filter( $array ){

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

Where the hook is called

Loader::get_currency_settings()
wc_currency_settings
Settings::get_currency_settings()
wc_currency_settings
woocommerce/src/Internal/Admin/Loader.php 517-528
return apply_filters(
	'wc_currency_settings',
	array(
		'code'              => $code,
		'precision'         => wc_get_price_decimals(),
		'symbol'            => html_entity_decode( get_woocommerce_currency_symbol( $code ) ),
		'symbolPosition'    => get_option( 'woocommerce_currency_pos' ),
		'decimalSeparator'  => wc_get_price_decimal_separator(),
		'thousandSeparator' => wc_get_price_thousand_separator(),
		'priceFormat'       => html_entity_decode( get_woocommerce_price_format() ),
	)
);
woocommerce/src/Internal/Admin/Settings.php 95-106
return apply_filters(
	'wc_currency_settings',
	array(
		'code'              => $code,
		'precision'         => wc_get_price_decimals(),
		'symbol'            => html_entity_decode( get_woocommerce_currency_symbol( $code ) ),
		'symbolPosition'    => get_option( 'woocommerce_currency_pos' ),
		'decimalSeparator'  => wc_get_price_decimal_separator(),
		'thousandSeparator' => wc_get_price_thousand_separator(),
		'priceFormat'       => html_entity_decode( get_woocommerce_price_format() ),
	)
);

Where the hook is used in WooCommerce

Usage not found.