Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,830
- How-to & Troubleshooting
- 129,810
- Creating & Extending
- 25,867
- Requests & Feedback
- 9,509
- Third Party Plugins
- 9,821
- Showcase
- 3,317
- Ideas
- 1,383
- Miscellaneous
- 9,178
-
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...]
}