A WordPress-centric search engine for devs and theme authors



clean_user_cache ›

Since4.4.0
Deprecatedn/a
do_action( 'clean_user_cache', $user->ID, $user )
Parameters: (2)
  • (int) $user_id User ID.
    Required: Yes
  • (WP_User) $user User object.
    Required: Yes
Defined at:
Codex:

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





Source

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