Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,845
- How-to & Troubleshooting
- 128,826
- Creating & Extending
- 25,735
- Requests & Feedback
- 9,442
- Third Party Plugins
- 9,772
- Showcase
- 3,317
- Ideas
- 1,388
- Miscellaneous
- 9,128
-
Howdy.
$bp['loggedin_userid']
Or something else from here : /mu-plugins/bp-core.php
Never leave home without your globals. Don’t forget to declare your intentions inside of a function:
function myhandydandyfunction () {
global $bp; (Andy reminded us of that recently)
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS