W3cubDocs

/WordPress

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 on Trac

Changelog

Version Description
2.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/clean_post_cache