Function: refresh_user_details

refresh_user_details( integer $id )

Cleans the user cache for a specific user.

Parameters

Name Type(s) Default Value Description
$id integer

The user ID.

Returns

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.