WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/clean page cache


This function has been deprecated since Version 3.4. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists. See also wp-includes/deprecated.php. Use clean_post_cache instead.

Description

Will clean the page in the cache.

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

Usage

<?php clean_page_cache$id ?>

Parameters

$id
(integer) (required) Page ID to clean
Default: None

Return Values

(void) 
This function does not return a value.

Examples

Notes

Change Log

Source File

clean_page_cache() is located in wp-includes/post.php.

Related