do_action( ‘clean_user_cache’, int $user_id, WP_User $user )

In this article

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

Parameters

$user_idint
User ID.
$userWP_User
User object.

Source

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

Changelog

VersionDescription
4.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.