Clear user cache action

This action lets you flush the cache for one or multiple users via the WP Rocket integration. Use it to automate you daily work and save time and resources.

How to flush the cache for one or multiple users

This section aims to help you getting started on how to flush the cache for one or multiple users via WP Rocket. Simply select one of your prefered automation manuals down below and start automating your WordPress website in no time.

"Clear user cache" arguments

Our so-called arguments are values that you can use to customize your request. They allow you to send specific data to the Clear user cache action which is then handled accordingly to the described purpose. You can use the arguments that you would like to send values for.
To learn more about it, please see the Setup Guide above.
users *

(String) Clear specific user IDs or Emails. To add multiple ones, please comma-separate them. If none are given, all are flushed.

wpwh_call_action

(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )

Connection examples

Get inspired on how to use the "Clear user cache" action within our WP Rocket integrations. Down below you will find various examples with our other integrations.
When a coupon was deleted via The Woocommerce Logo for our integration WooCommerce, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When an assignment was uploaded via The LearnDash Logo for our WP Webhooks integration LearnDash, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a project was approved via The ProjectHuddle Logo for our WP Webhooks integration ProjectHuddle, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a membership expired via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a quiz was failed via The LearnDash Logo for our WP Webhooks integration LearnDash, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a coupon was restored via The Woocommerce Logo for our integration WooCommerce, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a vote was added via The wpDiscuz Logo for our WP Webhooks integration wpDiscuz, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a profile photo was changed via The Ultimate Member Logo for our WP Webhooks integration Ultimate Member, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a contact was added to a list via The FluentCRM Logo for our WP Webhooks integration FluentCRM, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When one or multiple contact tags have been removed via The Autonami Logo for our WP Webhooks integration Autonami, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a subscription status has changed via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a lesson was completed via The LearnDash Logo for our WP Webhooks integration LearnDash, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a paid membership was cancelled via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a form was submitted via The Newsletter Logo for our WP Webhooks integration Newsletter, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When an ACF term field was updated via The Advanced Custom Fields Logo for our WP Webhooks integration Advanced Custom Fields, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When the CDN cache was cleared via The W3 Total Cache Logo for our WP Webhooks integration W3 Total Cache, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a form was submitted via The Gravityforms Logo for our integration Gravity Forms, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a file was downloaded via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a product was updated via The Woocommerce Logo for our integration WooCommerce, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a plugin was deleted via The WordPress Logo for our integration WordPress, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a new payout was received via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, flush the cache for one or multiple users via The WP Rocket Logo for our WP Webhooks integration WP Rocket.

More available WP Rocket endpoints

Discover more of the available endpoints used for the WP Rocket integration.
To learn more about a specific endpoint, simply click on it.
Full disclosure: When clicking on some of the links on our website and purchasing the related product and/or service, we may earn a commission free of any additional cost for you.