Posted 04 November 2010 - 04:18 AM
I am currently using WP-eMembers which is a plug-in for managing accounts, and I need to place a page that appears on the main menu, only after the users access the premium account. In other words, I am trying to add a condition around the main menu so a page only gets displayed on the main menu when the condition meets. Where is the code block that displays the menu on platform pro ?
Could you please explain to me step-by-step because I am learning right now?
This is a copy of the code that I have to paste on the theme.
$user_id = $auth->getUserInfo('member_id');
//pleace code that only members can see
Thank you very much!