Title: Clear cache in functions.php
Last modified: August 22, 2016

---

# Clear cache in functions.php

 *  [cm77au](https://wordpress.org/support/users/cm77au/)
 * (@cm77au)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/clear-cache-in-functionsphp/)
 * Hi,
 * I would like to clear the cache using the save_post action in my child themes
   functions.php file. Example below:
 * add_action( ‘save_post’, ‘custom_clear_cache’, 10, 1 );
    function custom_clear_cache(){//
   how can i clear the hyper cache? }
 * Is this possible?
 * Thanks
 * [https://wordpress.org/plugins/hyper-cache/](https://wordpress.org/plugins/hyper-cache/)

The topic ‘Clear cache in functions.php’ is closed to new replies.

 * ![](https://ps.w.org/hyper-cache/assets/icon-256x256.png?rev=3452725)
 * [Hyper Cache](https://wordpress.org/plugins/hyper-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hyper-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hyper-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/hyper-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hyper-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hyper-cache/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [cm77au](https://wordpress.org/support/users/cm77au/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/clear-cache-in-functionsphp/)
 * Status: not resolved