Warning: This method has been deprecated.
WC_Abstract_Legacy_Product::has_default_attributes()
Check if variable product has default attributes set.
Description Description
Return Return
(bool)
Source Source
File: includes/legacy/abstract-wc-legacy-product.php
public function has_default_attributes() { wc_deprecated_function( 'WC_Product_Variable::has_default_attributes', '3.0', 'a check against WC_Product::get_default_attributes directly' ); if ( ! $this->get_default_attributes() ) { return true; } return false; }
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |