WordPress at Your Fingertips
function is not described

wc_stock_amount() WC 1.0

Formats a stock amount by running it through a filter.

Hooks from the function

Return

Int|float.

Usage

wc_stock_amount( $amount );
$amount(int|float) (required)
Stock amount.

Code of wc_stock_amount() WC 6.1.0

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