WC_Product_Variable_Data_Store_Interface::child_has_dimensions()
Does a child have dimensions set?
Method of the class: WC_Product_Variable_Data_Store_Interface{}
No Hooks.
Return
true|false
.
Usage
$WC_Product_Variable_Data_Store_Interface = new WC_Product_Variable_Data_Store_Interface(); $WC_Product_Variable_Data_Store_Interface->child_has_dimensions( $product );
- $product(WC_Product) (required)
- Product object.
WC_Product_Variable_Data_Store_Interface::child_has_dimensions() WC Product Variable Data Store Interface::child has dimensions code WC 8.7.0
public function child_has_dimensions( $product );