Title: email_exists
Published: December 9, 2020
Last modified: May 20, 2026

---

# apply_filters( ’email_exists’, int|false $user_id, string $email )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/email_exists/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/email_exists/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/email_exists/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/email_exists/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/email_exists/?output_format=md#wp--skip-link--target)

Filters whether the given email exists.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/email_exists/?output_format=md#parameters)󠁿

 `$user_id`int|false

The user ID associated with the email, or false if the email does not exist.

`$email`string

The email to check for existence.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/email_exists/?output_format=md#source)󠁿

    ```php
    return apply_filters( 'email_exists', $user_id, $email );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/user.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-includes/user.php#L2111)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/user.php#L2111-L2111)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/email_exists/?output_format=md#related)󠁿

| Used by | Description | 
| [email_exists()](https://developer.wordpress.org/reference/functions/email_exists/)`wp-includes/user.php` |

Determines whether the given email exists.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/email_exists/?output_format=md#changelog)󠁿

| Version | Description | 
| [5.6.0](https://developer.wordpress.org/reference/since/5.6.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Femail_exists%2F)
before being able to contribute a note or feedback.