bp_get_signup_email_value()

Get the email address submitted during signup.


Return Return

(string)


Source Source

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

	function bp_get_signup_email_value() {
		$value = '';
		if ( isset( $_POST['signup_email'] ) ) {
			$value = $_POST['signup_email'];
		} else if ( bp_get_members_invitations_allowed() ) {
			$invite = bp_get_members_invitation_from_request();
			if ( $invite ) {
				$value = $invite->invitee_email;
			}
		}

		/**
		 * Filters the email address submitted during signup.
		 *
		 * @since 1.1.0
		 *
		 * @param string $value Email address submitted during signup.
		 */
		return apply_filters( 'bp_get_signup_email_value', $value );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
1.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.