WC_Product::child_has_weight()publicWC 3.0.0

Does a child have a weight?

Method of the class: WC_Product{}

No Hooks.

Return

true|false.

Usage

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

Changelog

Since 3.0.0 Introduced.

WC_Product::child_has_weight() code WC 8.7.0

public function child_has_weight() {
	return false;
}