WordPress at Your Fingertips
function is not described

WC_Product::get_min_purchase_quantity() public WC 3.0.0

Get min quantity which can be purchased at once.

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

No Hooks.

Return

Int.

Usage

$WC_Product = new WC_Product();
$WC_Product->get_min_purchase_quantity();

Changelog

Since 3.0.0 Introduced.

Code of WC_Product::get_min_purchase_quantity() WC 5.5.2

<?php
public function get_min_purchase_quantity() {
	return 1;
}