clean_page_cache action-hookWP 2.5.0

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

Usage

add_action( 'clean_page_cache', 'wp_kama_clean_page_cache_action' );

/**
 * Function for `clean_page_cache` action-hook.
 * 
 * @param int $post_id Post ID.
 *
 * @return void
 */
function wp_kama_clean_page_cache_action( $post_id ){

	// action...
}
$post_id(int)
Post ID.

Changelog

Since 2.5.0 Introduced.

Where the hook is called

clean_post_cache()
clean_page_cache
wp-includes/post.php 7420
do_action( 'clean_page_cache', $post->ID );

Where the hook is used in WordPress

Usage not found.