Categories
BuddyPress WordPress

How to get member id in BuddyPress member loop

$member_id = bp_get_member_user_id();