Clear cache action

This action lets you clear the full cache via the WP Rocket integration. Use it to automate you daily work and save time and resources.

How to clear the full cache

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

"Clear 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 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.
language

The language code of a given language. Leave it empty to clear all languages.

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 cache" action within our WP Rocket integrations. Down below you will find various examples with our other integrations.
When a WordPress hook was fired via The WordPress Logo for our integration WordPress, clear the full cache via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a product was viewed via The Woocommerce Logo for our integration WooCommerce, clear the full cache via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a custom link was clicked via The WP Webhooks Logo for our WP Webhooks integration WP Webhooks, clear the full cache via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When broken links have been detected via The Broken Link Checker Logo for our WP Webhooks integration Broken Link Checker, clear the full cache via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a comment was trashed via The WordPress Logo for our integration WordPress, clear the full cache via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When the cache was cleared via The WP Rocket Logo for our WP Webhooks integration WP Rocket, clear the full cache via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a booking was cancelled via The Events Manager Logo for our WP Webhooks integration Events Manager, clear the full cache via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a new referral was received via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, clear the full cache via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When the full cache was cleared via The LiteSpeed Cache Logo for our WP Webhooks integration LiteSpeed Cache, clear the full cache via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a product review has been approved via The Woocommerce Logo for our integration WooCommerce, clear the full cache via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When an action URL request was received via The WP Webhooks Logo for our WP Webhooks integration WP Webhooks, clear the full cache via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a contact status was updated via The FluentCRM Logo for our WP Webhooks integration FluentCRM, clear the full cache via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a lesson was completed via The Tutor LMS Logo for our WP Webhooks integration Tutor LMS, clear the full cache via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a Automate.io webhook request was received via The Automate.io Logo for our WP Webhooks integration Automate.io, clear the full cache via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a post was updated via The WordPress Logo for our integration WordPress, clear the full cache via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a form was submitted via The JetEngine Logo for our WP Webhooks integration JetEngine, clear the full cache 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, clear the full cache via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a new license was created via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, clear the full cache via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a post was created via The WordPress Logo for our integration WordPress, clear the full cache via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a contact was deleted via The FluentCRM Logo for our WP Webhooks integration FluentCRM, clear the full cache via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When an entry was approved via The GravityKit Logo for our WP Webhooks integration GravityKit, clear the full cache 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.