How do I refer to a member’s name in their profile?
-
Hello,
I’m attempting to add information next to a member’s name in their profile and also in the member directory list.
How do I refer to the member’s name (ex. bp_displayed_user_id)?
For instance, referring to a member’s name in a profile: bp_(what goes here?)
Here’s the little bit of code I’m trying to write for context:
function user_badge(){ echo '<span class="adbadge">'; echo 'AD'; echo '</span>'; } add_action ('display_name', 'user_badge');
Thank you!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How do I refer to a member’s name in their profile?’ is closed to new replies.