W3cubDocs

/WordPress

do_action( ‘clean_page_cache’, int $post_id )

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

Parameters

$post_idint
Post ID.

Source

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

Changelog

Version Description
2.5.0 Introduced.

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