woocommerce_format_sale_price filter-hookWC 1.0

Usage

add_filter( 'woocommerce_format_sale_price', 'wp_kama_woocommerce_format_sale_price_filter', 10, 3 );

/**
 * Function for `woocommerce_format_sale_price` filter-hook.
 * 
 * @param  $price         
 * @param  $regular_price 
 * @param  $sale_price    
 *
 * @return 
 */
function wp_kama_woocommerce_format_sale_price_filter( $price, $regular_price, $sale_price ){

	// filter...
	return $price;
}
$price
-
$regular_price
-
$sale_price
-

Where the hook is called

wc_format_sale_price()
woocommerce_format_sale_price
woocommerce/includes/wc-formatting-functions.php 1321
return apply_filters( 'woocommerce_format_sale_price', $price, $regular_price, $sale_price );

Where the hook is used in WooCommerce

Usage not found.