apply_filters( 'username_exists', int|false $user_id, string $username )

Filters whether the given username exists.

Parameters Parameters


(int|false) The user ID associated with the username, or false if the username does not exist.


(string) The username to check for existence.

Top ↑

Source Source

File: wp-includes/user.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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