Codex Home → Developer Resources → Function Examples → bp_member_user_id()
bp_member_user_id()
Description
Get the id of the user in a members loop.
If placed outside of a Members loop, it will be empty.
Usage
bp_member_user_id();
Parameters
None.
Example
Source File
bp_member_user_id() is located in bp-members/bp-members-template.php.