A WordPress-centric search engine for devs and theme authors



clean_post_cache ›

Since2.5.0
Deprecatedn/a
do_action( 'clean_post_cache', $post->ID, $post )
Parameters: (2)
  • (int) $post_id Post ID.
    Required: Yes
  • (WP_Post) $post Post object.
    Required: Yes
Defined at:
Codex:

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





Source

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