Advertisement
majeedraza

WooCommerce - Remove the add-to-cart button on archive pages

Nov 19th, 2017
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. <?php
  2.   // WooCommerce - Remove the add-to-cart button on archive pages
  3.   remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement