• Resolved GeekPress

    (@geekpress)


    Hi there,

    I’m one of WP Rocket developers. This plugin is a caching system and we would like to purge the post cache after a rate.

    We noticed you are using a function “yasr_wp_super_cache_support” to be compatible with WP Super Cache.

    Could you do the same with WP Rocket?

    Here the code:

    function yasr_wp_rocket_support( $post_id ) {
    if( function_exists( ‘rocket_clean_post’ ) ) {
    rocket_clean_post( post_id );
    }
    }

    Don’t hesitate if you have any questions.

    Have a great day.

    https://www.ads-software.com/plugins/yet-another-stars-rating/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Compatibility with WP Rocket’ is closed to new replies.