email_exists

Advertisement

Summery Summery

Determines whether the given email exists.

Syntax Syntax

email_exists( string $email )

Description Description

For more information on this and similar theme functions, check out the Conditional Tags article in the Theme Developer Handbook.

Parameters Parameters

$email

(Required) Email.

Return Return

(int|false) The user's ID on success, and false on failure.

Source Source

File: wp-includes/user.php

}

/**
 * Determines whether the given email exists.
 *
 * For more information on this and similar theme functions, check out
 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/

Advertisement

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Advertisement

Leave a Reply