I want to get the viewing profle's (another user's profile that current user is viewing) user_id
is there any shortcode or function available for it?
Thanks in advance.
Maybe you need this: bp_displayed_user_id().
Also see playing with the user’s ID in different contexts in BuddyPress documentation.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
1 year ago
1 month ago