The rocket_clean_user($user_id, $lang) function can be used to clear the cache of a specific user when you have logged-in user cache option active.

The function takes two parameters:

  • $user_id The user ID.

  • $lang The language code (optional)

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.