Clear post cache action

This action lets you flush the cache for one or multiple posts 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 posts

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

"Clear post 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 post 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.
post_ids *

(String) Clear specific post IDs only. 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 post cache" action within our WP Rocket integrations. Down below you will find various examples with our other integrations.
When the page cache was cleared via The Cache Enabler Logo for our WP Webhooks integration Cache Enabler, flush the cache for one or multiple posts 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, flush the cache for one or multiple posts via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a new customer was created via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, flush the cache for one or multiple posts 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, flush the cache for one or multiple posts via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a mockup comment was created via The ProjectHuddle Logo for our WP Webhooks integration ProjectHuddle, flush the cache for one or multiple posts via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a subscription was cancelled via The WooCommerce Subscriptions Logo for our WP Webhooks integration WooCommerce Subscriptions, flush the cache for one or multiple posts via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When the site cache was cleared via The Cache Enabler Logo for our WP Webhooks integration Cache Enabler, flush the cache for one or multiple posts via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a Make (Integromat) HTTP request was received via The Make (Integromat) Logo for our WP Webhooks integration Make (Integromat), flush the cache for one or multiple posts via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a paid membership expired via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, flush the cache for one or multiple posts via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When the full cache was cleared via The Autoptimize Logo for our WP Webhooks integration Autoptimize, flush the cache for one or multiple posts via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a form was submitted via The Divi Logo for our WP Webhooks integration Divi, flush the cache for one or multiple posts via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When an account was approved via The Ultimate Member Logo for our WP Webhooks integration Ultimate Member, flush the cache for one or multiple posts via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When an order was deleted via The Woocommerce Logo for our integration WooCommerce, flush the cache for one or multiple posts 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 posts via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a group access was granted via The LearnDash Logo for our WP Webhooks integration LearnDash, flush the cache for one or multiple posts 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, flush the cache for one or multiple posts via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a profile cover photo was changed via The Ultimate Member Logo for our WP Webhooks integration Ultimate Member, flush the cache for one or multiple posts 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, flush the cache for one or multiple posts via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When the cache was cleared via The WP Super Cache Logo for our WP Webhooks integration WP Super Cache, flush the cache for one or multiple posts 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 posts via The WP Rocket Logo for our WP Webhooks integration WP Rocket.
When a contact was removed from one or multiple lists via The Autonami Logo for our WP Webhooks integration Autonami, flush the cache for one or multiple posts 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.