do_action( 'clean_post_cache', int $post_id , WP_Post $post )
Fires immediately after the given post’s cache is cleaned.
Parameters
-
$post_id
int -
Post ID.
-
$post
WP_Post -
Post object.
Source
File: wp-includes/post.php
.
View all references
do_action( 'clean_post_cache', $post->ID, $post );
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |