wc_price

wc_price

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('wc_price') is found 1 times:

  • /includes/wc-formatting-functions.php line 629
    	 * @param array        $args              Pass on the args.
    	 * @param float        $unformatted_price Price as float to allow plugins custom formatting. Since 3.2.0.
    	 * @param float|string $original_price    Original price as float, or empty string. Since 5.0.0.
    	 */
    	return apply_filters( 'wc_price', $return, $price, $args, $unformatted_price, $original_price );
    }
    
    /**
     * Notation to numbers.
     *
     * This function transforms the php.ini notation for numbers (like '2M') to an integer.