bp_get_member_user_email()
Get the email address of the current member in the loop.
Description
Return
(string) Member's email address.
Source
File: bp-members/bp-members-template.php
function bp_get_member_user_email() { global $members_template; /** * Filters the email address of the current member in the loop. * * @since BuddyPress 1.2.5 * * @param string $user_email Email address for the current member. */ return apply_filters( 'bp_get_member_user_email', $members_template->member->user_email ); }
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.