Warning: This method has been deprecated. Unused instead.
WC_Abstract_Legacy_Product::enable_dimensions_display()
Returns whether or not we are showing dimensions on the product page.
Description Description
Return Return
(bool)
Source Source
File: includes/legacy/abstract-wc-legacy-product.php
public function enable_dimensions_display() { wc_deprecated_function( 'WC_Product::enable_dimensions_display', '3.0' ); return apply_filters( 'wc_product_enable_dimensions_display', true ) && ( $this->has_dimensions() || $this->has_weight() || $this->child_has_weight() || $this->child_has_dimensions() ); }
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |