Created
April 26, 2016 14:17
-
-
Save gizalink/f585b9bcc0818efb6d71e436bca7b04b to your computer and use it in GitHub Desktop.
This file contains 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
<?php | |
/* | |
* Remove button add to cart on Shop or Category product page | |
*/ | |
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart'); | |
add_action( 'woocommerce_after_shop_loop_item', 'callback_function' ); | |
function callback_function() | |
{ | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment