wc_get_price_thousand_separator filter-hookWC 2.3

Return the thousand separator for prices.

Usage

add_filter( 'wc_get_price_thousand_separator', 'wp_kama_wc_get_price_thousand_separator_filter' );

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

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

Changelog

Since 2.3 Introduced.

Where the hook is called

wc_get_price_thousand_separator()
wc_get_price_thousand_separator
woocommerce/includes/wc-formatting-functions.php 516
return stripslashes( apply_filters( 'wc_get_price_thousand_separator', get_option( 'woocommerce_price_thousand_sep' ) ) );

Where the hook is used in WooCommerce

Usage not found.