wc_stock_amount( int|float $amount )

Formats a stock amount by running it through a filter.


Description Description


Parameters Parameters

$amount

(Required) Stock amount.


Top ↑

Return Return

(int|float)


Top ↑

Source Source

File: includes/wc-formatting-functions.php

function wc_stock_amount( $amount ) {
	return apply_filters( 'woocommerce_stock_amount', $amount );
}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.