Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function WC() {
- remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart');
- remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart');
- return WooCommerce::instance();
- }
Add Comment
Please, Sign In to add comment