• D J

    (@wwwpornolatinonet)


    Hi, I am using a plugin called wp_ratings, I am using the following to delete the cache for that page when a rating is made.

    if (function_exists (‘wp_cache_post_change’)) {
    $GLOBALS[“super_cache_enabled”]=1;
    wp_cache_post_change($post_id);
    }

    Is this the same as refreshing the cache for that page instead of deleting it? I want that pages cache to be refreshed not deleted.

  • The topic ‘wp_cache_post_change($post_id); REFRESH CACHE’ is closed to new replies.