W3cubDocs

/WordPress

do_action( 'clean_user_cache', int $user_id, WP_User $user )

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

Parameters

$user_id

(int) User ID.

$user

(WP_User) User object.

Source

File: wp-includes/user.php

View on Trac

Changelog

Version Description
4.4.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/clean_user_cache