Osclass Support Forums

Osclass plugin support => Favorite Items Plugin => Topic started by: oscman on April 17, 2020, 11:41:11 AM

Title: How to allow ONLY logged in users to favorite?
Post by: oscman on April 17, 2020, 11:41:11 AM
How to allow ONLY logged in users to favorite? i dont want unregistered users to be allowed to add to favorite
Title: Re: How to allow ONLY logged in users to favorite?
Post by: MB Themes on April 20, 2020, 08:19:41 AM
@oscman
Wrapping buttons into:
Code: [Select]
<?php if(osc_is_web_user_logged_in()) { ?>
...... button .....
<?php ?>