Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Hiding buddybar add-on menus when users are not logged in


John James Jacoby
Keymaster

@johnjamesjacoby

I actually linked to the function reference in my post above yours. :)

That function is a WordPress function to check and see if the user browsing the site is logged in or not. It will return true if yes, false if no.

if (if_user_logged_in())) {
[..your custom menu item code...]
}

Skip to toolbar