WordPress at a glance
filter is not described

wc_product_enable_dimensions_display filter-hook . WC 1.0

Deprecated from version 3.0.0. It is no longer supported and can be removed in future releases. Use d instead.

Deprecated: 3.0.0 Unused.

Returns whether or not we are showing dimensions on the product page.

Usage

add_filter( 'wc_product_enable_dimensions_display', 'filter_function_name_9181' );
function filter_function_name_9181( $true ){
	// filter...

	return $true;
}
$true
-

Changelog

Deprecated Since 3.0.0 Unused.

Where the hook is called

WC_Abstract_Legacy_Product::enable_dimensions_display()
wc_product_enable_dimensions_display
woocommerce_default_product_tabs()
wc_product_enable_dimensions_display
wc_display_product_attributes()
wc_product_enable_dimensions_display
woocommerce/includes/legacy/abstract-wc-legacy-product.php 633
return apply_filters( 'wc_product_enable_dimensions_display', true ) && ( $this->has_dimensions() || $this->has_weight() || $this->child_has_weight() || $this->child_has_dimensions() );
woocommerce/includes/wc-template-functions.php 1794
if ( $product && ( $product->has_attributes() || apply_filters( 'wc_product_enable_dimensions_display', $product->has_weight() || $product->has_dimensions() ) ) ) {
woocommerce/includes/wc-template-functions.php 3384
$display_dimensions = apply_filters( 'wc_product_enable_dimensions_display', $product->has_weight() || $product->has_dimensions() );

Where in WP core the hook is used WooCommerce

Usage not found.