WC_Order_Item::get_quantity()publicWC 1.0

Get quantity.

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

No Hooks.

Return

Int.

Usage

$WC_Order_Item = new WC_Order_Item();
$WC_Order_Item->get_quantity();

Code of WC_Order_Item::get_quantity() WC 6.5.1

public function get_quantity() {
	return 1;
}