WordPress at a glance
function is not described

clean_page_cache() WP 2.0.0

Deprecated from version 3.4.0. It is no longer supported and can be removed in future releases. Use clean_post_cache instead.

Will clean the page in the cache.

Clean (read: delete) page from cache that matches $id. Will also clean cache associated with 'all_page_ids' and 'get_pages'.

No Hooks.


null. Null. Nothing.


clean_page_cache( $id );
$id(int) (required)
Page ID to clean


  • See: clean_post_cache()


Since 2.0.0 Introduced.
Deprecated Since 3.4.0 Use clean_post_cache

Code of clean_page_cache() WP 5.7.1

function clean_page_cache( $id ) {
	_deprecated_function( __FUNCTION__, '3.4.0', 'clean_post_cache()' );

	clean_post_cache( $id );