wordpress / latest / hooks / clean_post_cache.html

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 );

Used By

Used By Description

Changelog

Version Description
2.5.0 Introduced.

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