bp_get_member_user_nicename()
Get the nicename of the current member in the loop.
Description
Return
(string) Members nicename.
Source
File: bp-members/bp-members-template.php
function bp_get_member_user_nicename() {
global $members_template;
/**
* Filters the nicename of the current member in the loop.
*
* @since BuddyPress 1.2.5
*
* @param string $user_nicename Nicename for the current member.
*/
return apply_filters( 'bp_get_member_user_nicename', $members_template->member->user_nicename );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.2.5 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.