LLMS_Abstract_Privacy::get_student_by_email( string $email )

Retrieve an instance of an LLMS_Student from email address.

Parameters Parameters


(string) (Required) Email address.

Top ↑

Return Return


Top ↑

Source Source

File: includes/abstracts/llms.abstract.privacy.php

	protected static function get_student_by_email( $email ) {

		$user = get_user_by( 'email', $email );
		if ( is_a( $user, 'WP_User' ) ) {
			return llms_get_student( $user );

		return false;

Top ↑

Changelog Changelog

Version Description
3.18.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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