Created
December 5, 2017 03:31
-
-
Save lukecav/0d114d897ab804612dc44fe831ad1e02 to your computer and use it in GitHub Desktop.
Remove add to cart buttons on shop archive page in WooCommerce
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That works, thanks a lot Sir