WC_Product::child_has_weight()publicWC 3.0.0

Does a child have a weight?

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

Хуков нет.

Возвращает

true|false.

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

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

Список изменений

С версии 3.0.0 Введена.

Код WC_Product::child_has_weight() WC 8.7.0

public function child_has_weight() {
	return false;
}