wpseek.com
WordPress开发者和主题制作者的搜索引擎



clean_post_cache › WordPress动作钩子

Since2.5.0
已弃用n/a
› do_action( 'clean_post_cache', $post->ID, $post )
参数: (2)
  • () post_id Post ID.
    Required: Yes
  • () post Post object.
    Required: Yes
定义在:
文档:

Fires immediately after the given post's cache is cleaned.





源码

do_action( 'clean_post_cache', $post->ID, $post );