Skip to content

Instantly share code, notes, and snippets.

@chrdesigner
Created July 30, 2015 18:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrdesigner/2de640a550eca8910255 to your computer and use it in GitHub Desktop.
Save chrdesigner/2de640a550eca8910255 to your computer and use it in GitHub Desktop.
<?php
/**
* Remove Widget Product Gallery - WooCommerce
*/
add_action( 'add_meta_boxes' , 'chr_remove_meta_boxe', 40 );
function chr_remove_meta_boxe(){
remove_meta_box( 'woocommerce-product-images', 'product', 'side');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment