clean_post_cache


clean_post_cache ( $post )

Parameters:
  • (int|WP_Post) $post Post ID or post object to remove from the cache.
Defined at:

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().

Related Functions

clean_blog_cache, clean_page_cache, clean_user_cache, clean_term_cache, clean_comment_cache

Top Google Results

User discussions

wpseek mobile