WC_Product_Variable::has_dimensions
Returns whether or not the product has dimensions set.
Method of the class: WC_Product_Variable{}
No Hooks.
Returns
true|false.
Usage
$WC_Product_Variable = new WC_Product_Variable(); $WC_Product_Variable->has_dimensions();
WC_Product_Variable::has_dimensions() WC Product Variable::has dimensions code WC 10.6.2
public function has_dimensions() {
return parent::has_dimensions() || $this->child_has_dimensions();
}