daily pastebin goal
78%
SHARE
TWEET

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

lorro Nov 19th, 2017 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 );
RAW Paste Data
Top