I have created some ‘password protected’ Products from the back-end. Now i want to display those ‘Password Protected’ Products to some particular users, with out any password restriction. For the remaining users they should ask password to view the product. Is that possible. Please let me know if any solution.
In short terms, Need to change WordPress visibility options from functions.php
Thanks,
Satya
After some research on WordPress inbuilt functionality, I got a solution and its working.
In ‘functions.php’ file i did the following code.
Hope this may help for some others who have the same requirement. I can use this code for some particular users or particular categories,etc..