clean_post_cache
clean_post_cache ( $post )
Parameters:- (int|WP_Post) post Post ID or post object to remove from the cache.
Defined at: - Introduced in WordPress: 2.0.0
- Deprecated in WordPress: —
Description
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().