Automattic\WooCommerce\Internal\ShopperLists

ShopperListItem::get_product_id │ public │ WC 1.0

Product ID at save time.

Метод класса: ShopperListItem{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$ShopperListItem = new ShopperListItem();
$ShopperListItem->get_product_id(): int;

Код ShopperListItem::get_product_id() WC 11.2.2

public function get_product_id(): int {
	return $this->product_id;
}