Codex

Attention Help us to improve the Codex by filling out our documentation survey!

Function Reference/clean page cache

Contents

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

Since: 2.0.0

Source File

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

Related