How to hide product “Description” tab’ in Woocommerce plugin only for unlogged users, but visible for registered customers (and logged-in users).
- January 26, 2020
- 160 views
- 1 vote
- 2 Answers
-
How to hide product “Description” tab’ in Woocommerce plugin only for unlogged users, but visible for registered customers (and logged-in users).
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.