Replace username with full name
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() ); ?>
You must be logged in to reply to this topic.