WordPress at Your Fingertips
function is not described

WC_Product::child_has_weight() public WC 3.0.0

Does a child have a weight?

{} It's a 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.

Code of WC_Product::child_has_weight() WC 5.8.0

public function child_has_weight() {
	return false;
}