Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/**
* Hides the product's weight and dimension in the single product page.
*/
add_filter( 'wc_product_enable_dimensions_display', '__return_false' );
@bobnic

This comment has been minimized.

Copy link

bobnic commented Oct 14, 2018

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.