wc_currency_settings filter-hook . WC 1.0
Usage
add_filter( 'wc_currency_settings', 'filter_function_name_4708' ); function filter_function_name_4708( $array ){ // filter... return $array; }
- $array
- -
Where the hook is called
wc_currency_settings
woocommerce/packages/woocommerce-admin/src/Loader.php 1262-1273
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() ), ) );