WC_Product_Variable::has_weight()

Returns whether or not the product has weight set.


Description Description


Return Return

(bool)


Top ↑

Source Source

File: includes/class-wc-product-variable.php

	public function has_weight() {
		return parent::has_weight() || $this->child_has_weight();
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.