Function: refresh_user_details

refresh_user_details( integer $id )

Cleans the user cache for a specific user.


Name Type(s) Default Value Description
$id integer

The user ID.


boolean | integer

The ID of the refreshed user or false if the user does not exist.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.