In the WooCommerce template simple.php there is this action hook

do_action( 'woocommerce_before_add_to_cart_button' );

There seems to be a function hooked to this because it generates this HTML:

.

I’m trying to get rid of that output, so I’d like to just do a remove_action for this hook to remove that output. I believe that would be the best option. Is that possible? Is there another way (other than using a template override)? This seems like it should be super easy, but just not finding a way to do this right now. Thanks!!

Read more here: Remove WooCommerce action – hook unknown


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: