How to hide product “Description” tab’ in Woocommerce plugin only for unlogged users, but visible for registered customers (and logged-in users).
Question posted in Woocommerce
The official Woocommerce documentation can be found here.
The official Woocommerce documentation can be found here.
2
Answers
Try this, add this snippet into the function.php
To remove product description tab on sigle product pages for non logged users, you will use:
This code goes in functions.php file of your active child theme (or active theme). Tested and works.