Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Displaying usernames on Members Directory part 2


takuya
Participant

@takuya

I finally solved this according to:

https://svn.buddypress.org/trunk/bp-core/bp-core-templatetags.php

I’ve made a new custom function, bp_member_user_login as follows

function bp_member_user_login() {
echo bp_get_member_user_login();
}
function bp_get_member_user_login() {
global $members_template;

return apply_filters( 'bp_get_member_user_login', $members_template->member->user_login );
}

Skip to toolbar