Remove the product category module block from the Woocommerce product page

I want to remove this block:

https://imgur.com/a/xzuto

this is a category blcok on the product page overview. I want to remove this block but I cannot seem to wokr it out.

I find a couple of “solutions” on internet but it is not working for me. I get an error 500 and if I check the logs it displays this:

PHP Parse error: syntax error, unexpected ‘add_filter’ (T_STRING), expecting function (T_FUNCTION)

This is the solutions i found:

https://www.engagewp.com/remove-categories-woocommerce-product-category-widget/

https://wpbeaches.com/removing-the-product-meta-categories-in-a-product-page-woocommerce/

https://www.engagewp.com/remove-categories-woocommerce-product-category-widget/

Does anyone know how to achieve this?

Read more here:: Remove the product category module block from the Woocommerce product page

Leave a Reply

Your email address will not be published. Required fields are marked *