Clear URL cache action

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

How to clear the cache for one or multiple URLs

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

"Clear URL 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 URL 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.
urls *

(String) Clear specific URLs only. To add multiple ones, please comma-separate them.

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 URL cache" action within our WP Rocket integrations. Down below you will find various examples with our other integrations.
When an ACF comment field was updated via The Advanced Custom Fields Logo for our WP Webhooks integration Advanced Custom Fields, clear the cache for one or multiple URLs via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a user was created via The WordPress Logo for our integration WordPress, clear the cache for one or multiple URLs 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 cache for one or multiple URLs via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a subscription expired via The WooCommerce Subscriptions Logo for our WP Webhooks integration WooCommerce Subscriptions, clear the cache for one or multiple URLs via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a free membership was activated via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, clear the cache for one or multiple URLs via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a user was updated via The WP User Manager Logo for our WP Webhooks integration WP User Manager, clear the cache for one or multiple URLs via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a membership was set to pending cancellation via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, clear the cache for one or multiple URLs via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a customer was updated via The Woocommerce Logo for our integration WooCommerce, clear the cache for one or multiple URLs via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a user was registered via The WP User Manager Logo for our WP Webhooks integration WP User Manager, clear the cache for one or multiple URLs via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a response was added to a ticket via The Fluent Support Logo for our WP Webhooks integration Fluent Support, clear the cache for one or multiple URLs via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a IFTTT webhook request was received via The IFTTT Logo for our WP Webhooks integration IFTTT, clear the cache for one or multiple URLs via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a quiz was completed via The Tutor LMS Logo for our WP Webhooks integration Tutor LMS, clear the cache for one or multiple URLs via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a UM profile description was updated via The Ultimate Member Logo for our WP Webhooks integration Ultimate Member, clear the cache for one or multiple URLs via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a membership was cancelled via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, clear the cache for one or multiple URLs via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When an affiliate status was changed via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, clear the cache for one or multiple URLs via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a tag was removed from a contact via The Groundhogg Logo for our WP Webhooks integration Groundhogg, clear the cache for one or multiple URLs via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When an order was created via The Woocommerce Logo for our integration WooCommerce, clear the cache for one or multiple URLs 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 cache for one or multiple URLs via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a paid membership was activated via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, clear the cache for one or multiple URLs via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a course access was removed via The LearnDash Logo for our WP Webhooks integration LearnDash, clear the cache for one or multiple URLs via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a topic was favored via The bbPress Logo for our WP Webhooks integration bbPress, clear the cache for one or multiple URLs 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.