Action hook 'clean_user_cache'

in WP Core File wp-includes/user.php at line 1956

Description

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

Occurrences

Filename Line Number
wp-includes/user.php 1956

Parameters

Type Name Description
int $user_id User ID.
WP_User $user User object.

PHP Doc

/**
	 * Fires immediately after the given user's cache is cleaned.
	 *
	 * @since 4.4.0
	 *
	 * @param int     $user_id User ID.
	 * @param WP_User $user    User object.
	 */