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.
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.
You must be logged in to post a comment.
Maybe you need this:
bp_displayed_user_id()
.Also see playing with the userâs ID in different contexts in BuddyPress documentation.