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:
Also see playing with the user’s ID in different contexts in BuddyPress documentation.
|show 5 more comments|