bp_get_member_user_login()

Get the login of the current member in the loop.

Description

Return

(string) Member's login.

Source

File: bp-members/bp-members-template.php

	function bp_get_member_user_login() {
		global $members_template;

		/**
		 * Filters the login of the current member in the loop.
		 *
		 * @since BuddyPress 1.2.5
		 *
		 * @param string $user_login Login for the current member.
		 */
		return apply_filters( 'bp_get_member_user_login', $members_template->member->user_login );
	}

Changelog

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.