clean_page_cache( int $id )

This function has been deprecated. Use clean_post_cache() instead.

Will clean the page in the cache.

Description

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

See also

Parameters

$idintrequired
Page ID to clean

Source

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

	clean_post_cache( $id );
}

Changelog

VersionDescription
3.4.0Use clean_post_cache
2.0.0Introduced.

User Contributed Notes

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