remove product from cart woocommerce hook code example
Example: woocommerce remove add to cart
// functions.php
add_filter( 'woocommerce_loop_add_to_cart_link', '__return_false' );
// functions.php
add_filter( 'woocommerce_loop_add_to_cart_link', '__return_false' );