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 2 months ago / Published 12 months 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