“wphb_clear_page_cache” is not working
-
Hey Hummingbird Support Team,
I’ve been using Hummingbird Plugin for like 3 years roughly and I’m so satisfied with it,
I have one issue regarding ‘wphb_clear_page_cache’ though,
I’m trying “clear all of the cache” when publishing any post at my custom post type “news”
below is the code that I’m running on functions.php:
function run_on_publish_wpse_100421( $postid, $post ) {
if (‘news’ == $post->post_type) {
do_action( ‘wphb_clear_page_cache’ );
}
}
add_action(‘publish_post’,’run_on_publish_wpse_100421′,1,2);so far though I can see that ‘wphb_clear_page_cache’ is not working for me,
is there another solution that I can come up to?I’d appreciate your help, thanks!
- The topic ‘“wphb_clear_page_cache” is not working’ is closed to new replies.