Skip to content

SS88UK/RunCache-WPRocket-Bridge

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

RunCache & WP Rocket Bridge

When WP Rokcet clears it's cache, this plugin will also clear RunCache too.

add_action('after_rocket_clean_post', function( $post ) {
	if(class_exists('RunCache_Purger')) RunCache_Purger::flush_post($post->ID);
});


add_action( 'after_rocket_clean_domain', function() {
	if(class_exists('RunCache_Purger')) RunCache_Purger::flush_home(true);
});

About

When WP Rokcet clears it's cache, this plugin will also clear RunCache too.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages