clean_page_cache

The timeline below displays how wordpress function clean_page_cache has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 4.6

/**
 * 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'.
 *
 * @since 2.0.0
 * @deprecated 3.4.0 Use clean_post_cache
 * @see clean_post_cache()
 *
 * @param int $id Page ID to clean
 */
function clean_page_cache($id)
{
    _deprecated_function(__FUNCTION__, '3.4.0', 'clean_post_cache()');
    clean_post_cache($id);
}

WordPress Version: 4.4

/**
 * 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'.
 *
 * @since 2.0.0
 * @deprecated 3.4.0 Use clean_post_cache
 * @see clean_post_cache()
 *
 * @param int $id Page ID to clean
 */
function clean_page_cache($id)
{
    _deprecated_function(__FUNCTION__, '3.4', 'clean_post_cache()');
    clean_post_cache($id);
}

WordPress Version: 4.1

/**
 * 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'.
 *
 * @since 2.0.0
 * @deprecated 3.4.0
 *
 * @param int $id Page ID to clean
 */
function clean_page_cache($id)
{
    _deprecated_function(__FUNCTION__, '3.4', 'clean_post_cache()');
    clean_post_cache($id);
}

WordPress Version: 3.7

/**
 * 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'.
 *
 * @since 2.0.0
 * @deprecated 3.4.0
 *
 * @uses do_action() Will call the 'clean_page_cache' hook action.
 *
 * @param int $id Page ID to clean
 */
function clean_page_cache($id)
{
    _deprecated_function(__FUNCTION__, '3.4', 'clean_post_cache()');
    clean_post_cache($id);
}