Skip to:
Content
Pages
Categories
Search
Top
Bottom

Replace username with full name

  • @stanford

    Participant

    How can I replace all instances of usernames with the user’s first and last name?

    For example, I have this working in the members-directory loop, but I want it to work on other parts of the site, such as activity stream and group members lists, etc:

    <?php echo xprofile_get_field_data( 'First Name', bp_get_the_site_member_user_id() ); ?>

  • The topic ‘Replace username with full name’ is closed to new replies.
Skip to toolbar