Title: problem cache hook
Last modified: April 15, 2021

---

# problem cache hook

 *  [tcwebfree](https://wordpress.org/support/users/tcwebfree/)
 * (@tcwebfree)
 * [5 years ago](https://wordpress.org/support/topic/problem-cache-hook/)
 * Hello I am using your plugin on a site with divi. I created a feature that displays
   a list of contributor to the site with a shortcode. This functionality I have
   coded in functions.php. The problem is that when I add a contributor, each time
   I empty the cache via your plugin for the contributor to appear in this list.
   I saw your doc which forces the cache with this:
    wpfc_clear_post_cache_by_id(
   1923);
 * Being a beginner for hooks I would like to know how should I place this function.
   Do I just have to put this snippet of code in my function that generates the 
   shortcode for it to work?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [5 years ago](https://wordpress.org/support/topic/problem-cache-hook/#post-14323782)
 * I have no idea. if you do not know how to use wp hook system, you cannot use 
   it. first you need to learn it.

Viewing 1 replies (of 1 total)

The topic ‘problem cache hook’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/problem-cache-hook/#post-14323782)
 * Status: not resolved