Get the id of the user in a members loop.
If placed outside of a Members loop, it will be empty.
bp_member_user_id() is located in /bp-members/bp-members-template.php.
Updated 3 years ago / Published 4 years ago
The BuddyPress Codex is volunteer-powered, which means you can contribute too! If you're interested in updating existing articles or creating entirely new ones, please read our Codex Standards & Guidelines.
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service