On this page
do_action( 'clean_user_cache', int $user_id, WP_User $user )
Fires immediately after the given user’s cache is cleaned.
Parameters
$user_idint-
User ID.
$userWP_User-
User object.
Source
File: wp-includes/user.php. View all references
do_action( 'clean_user_cache', $user->ID, $user );
Related
Used By
| Used By | Description |
|---|---|
| clean_user_cache() wp-includes/user.php | Cleans all user caches. |
Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/clean_user_cache