Skip to content

Neoboffin/RunCache-WPRocket-Bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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