wpseek.com
A WordPress-centric search engine for devs and theme authors



clean_page_cache › WordPress Function

Since2.0.0
Deprecated3.4.0
clean_page_cache ( $id )
Parameters:
  • (int) $id Page ID to clean
    Required: Yes
See:
Defined at:
Codex:

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'.


Source

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

	clean_post_cache( $id );
}