I want to write a hook s for woocommerce_template_single_add_to_cart.
I have already written some other hooks that work nicely mostly for a child theme.
As far as I understand one can write hooks for woo/functions that are in the template directory by duplicating the folder structure.
But this function in woocommerce-template.php located in the template directory. I have tried to hook it and it does not work. I had heard that function in the woocommerce folder are not hook-able.
Nevertheless the documentation (http://docs.woothemes.com/document/hooks/ second hook from top)
says that is his hook-able. So how is this done?