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.8.1

apply_filters('woocommerce_stock_amount') is found 1 times:

  • /includes/wc-formatting-functions.php line 481
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    * @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: