do_action( ‘clean_post_cache’, int $post_id, WP_Post $post )

In this article

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

Parameters

$post_idint
Post ID.
$postWP_Post
Post object.

Source

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

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.