WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
hooks to clear all files (2 posts)

  1. tmaster
    Member
    Posted 4 years ago #

    How do I clear all files?

    I am writing a SK2 plugin and I need to tell WPSC to clear all files when the seed keys change.

    How would a do this?

    I see the hook 'cache_admin_page' how would you call that to clear all cache files?

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 4 years ago #

    Use the function wp_cache_clear_cache() to clear the cache.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic