rocket_clean_home()

Use the rocket_clean_home() function when you want to purge your home page from the cache.

If your website is multilingual, you can specify the language to purge.

// clean the home
rocket_clean_home();

// clean the French home page
rocket_clean_home( 'fr' );

Note: WP Rocket supports Polylang and WPML plugins for multilingual content.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.