Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bp_displayed_user_username or another?


Brajesh Singh
Participant

@sbrajesh

You are right, It will work on members page only, as it uses $bp->displayed_user which is set for member pages only.

You can accomplish the same by using function

“bp_core_get_username” on any of the pages. take a look at the function definition.

Skip to toolbar