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

  1. tmaster
    Posted 5 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
    Plugin Author

    Posted 5 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

  • WP Super Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic