WordPress at Your Fingertips
function is not described

WC_Product::get_low_stock_amount() public WC 3.5.0

Get low stock amount.

{} It's a method of the class: WC_Product{}

No Hooks.


Int|String. Returns empty string if value not set


$WC_Product = new WC_Product();
$WC_Product->get_low_stock_amount( $context );
What the value is for. Valid values are view and edit.
Default: 'view'


Since 3.5.0 Introduced.

Code of WC_Product::get_low_stock_amount() WC 5.8.0

public function get_low_stock_amount( $context = 'view' ) {
	return $this->get_prop( 'low_stock_amount', $context );