woocommerce_stock_amount

woocommerce_stock_amount

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_stock_amount') is found 1 times:

  • /includes/wc-formatting-functions.php line 481
     * @param  int|float $amount Stock amount.
     * @return int|float
     */
    function wc_stock_amount( $amount ) {
    	return apply_filters( 'woocommerce_stock_amount', $amount );
    }
    
    /**
     * Get the price format depending on the currency position.
     *
     * @return string
    

See this hook used in plugins: