clean_user_cache( WP_User | integer $user )
Clean all user caches
$user
WP_User | integer
User object or ID to be cleaned from the cache
Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.