Skip to content

Instantly share code, notes, and snippets.

@mikejolley
Created February 12, 2014 22:29
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save mikejolley/8965846 to your computer and use it in GitHub Desktop.
WooCommerce 2.1 - Hiding product dimensions from the product page
// Add to your theme functions.php file
add_filter( 'wc_product_enable_dimensions_display', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment