WC_Product_Variable::has_options()
Returns whether or not the product has additional options that need selecting before adding to cart.
Description Description
Return Return
(boolean)
Source Source
File: includes/class-wc-product-variable.php
public function has_options() {
return true;
}
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |