首页 WordPress函数大全 clean_post_cache()

clean_post_cache()

2020-05-01 / 2584阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

clean_post_cache( int|WP_Post $post )

Will clean the post in the cache.

描述

Cleaning means delete from the cache of the post. Will call to clean the term object cache associated with the post ID.

This function not run if $_wp_suspend_cache_invalidation is not empty. See wp_suspend_cache_invalidation().

参数

$post

(int|WP_Post)
(Required)
Post ID or post object to remove from the cache.

大家谈论
    我的见解