Skip to content

Instantly share code, notes, and snippets.

@mklasen
Created May 4, 2017 18:33
Show Gist options
  • Save mklasen/d75934df99489a139b546b79525ff743 to your computer and use it in GitHub Desktop.
Save mklasen/d75934df99489a139b546b79525ff743 to your computer and use it in GitHub Desktop.
Remove woocommerce product thumbnail from loop
<?php
add_action('woocommerce_init', function() {
remove_action( 'woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_thumbnail', 10 );
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment