Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Identify “/membername/” in Admin Bar?


r-a-y
Keymaster

@r-a-y

Check out /plugins/buddypress/bp-core/bp-core-templatetags.php

Specifically:

bp_get_member_permalink()

[EDIT]

You’re looking for user_login for the “membername” part.

Look at:

https://codex.wordpress.org/Function_Reference/get_userdata

https://codex.wordpress.org/Function_Reference/get_currentuserinfo

Skip to toolbar