Advertisement

validate_username

Filters whether the provided username is valid or not.

username_exists

Filters whether the given username exists or not.

clean_user_cache

Fires immediately after the given user’s cache is cleaned.

user_{$field}

Filters the value of a user field in a standard context.

Advertisement

pre_user_{$field}

Filters the value of a user field in the ‘db’ context.

edit_user_{$field}

Filters a user field value in the ‘edit’ context.

wp_dropdown_users_args

Filters the query arguments for the list of users in the dropdown.

Advertisement

pre_count_users

Filter the user count before queries are run. Return a non-null value to cause count_users() to return early.

pre_get_blogs_of_user

Filters the list of a user’s sites before it is populated.

Advertisement

get_usernumposts

Filters the number of posts a user has written.