wordpress / latest / hooks / clean_user_cache.html

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 all references

do_action( 'clean_user_cache', $user->ID, $user );

Used By

Used By Description

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