Create shortcode with displayed user id?
Hello all, I am trying to work out how to create a shortcode that would grab the currently viewed user profile user ID. So if I was looking at John does profile, this would return his user id, not mine. I believe what I need to use is bp_displayed_user_id. I am new to wp and bp so any help would be greatly appreciated.
- You must be logged in to reply to this topic.