bp_core_get_userlink_by_email( string $email )
Return the user link for the user based on user email address.
Description Description
Parameters Parameters
-
(Required) The email address for the user.
Return Return
(string) The link to the users home base. False on no match.
Source Source
File: bp-members/bp-members-functions.php
function bp_core_get_userlink_by_email( $email ) { $user = get_user_by( 'email', $email ); /** * Filters the user link for the user based on user email address. * * @since 1.0.1 * * @param string|bool $value URL for the user if found, otherwise false. */ return apply_filters( 'bp_core_get_userlink_by_email', bp_core_get_userlink( $user->ID, false, false, true ) ); }
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |