remove_action( '*', 'woodmart_sguide_display')
-
Hello,
Looking for the proper code to remove the size guide display, I have it setup in my child-theme to show up under my size option on the single products page; thus do not need it on the bottom of the woocommerce_single_product_summary.
I am going to remove my modification for now until support has had a chance to assist me.
Thanks
Attachments:
You must be
logged in to view attached files.
Hello,
We are glad to know that you have considered using WoodMart for your web-site. I hope you will be happy with it.
Try to add the following PHP code snippet to the child theme functions.php file to do this
remove_action( 'woocommerce_single_product_summary', 'woodmart_sguide_display', 38 );
Kind Regards
Xtemos
Thanks for the quick response!
turns out I already had that code in my functions.php, is there another location that function is called?
No, there are no any other hooks for this function. This code should remove it. Maybe you have some customizations that prevent this from happening.