clean_post_cache action-hook . WP 2.5.0
Fires immediately after the given post's cache is cleaned.
Usage
add_action( 'clean_post_cache', 'action_function_name_8335', 10, 2 ); function action_function_name_8335( $post_id, $post ){ // action... }
- $post_id(int)
- Post ID.
- $post(WP_Post)
- Post object.
Changelog
Since 2.5.0 | Introduced. |
Where the hook is called
clean_post_cache
wp-includes/post.php 6955
do_action( 'clean_post_cache', $post->ID, $post );