update_page_cache

The timeline below displays how wordpress function update_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

/**
 * Alias of update_post_cache().
 *
 * @see update_post_cache() Posts and pages are the same, alias is intentional
 *
 * @since 1.5.1
 * @deprecated 3.4.0 Use update_post_cache()
 * @see update_post_cache()
 *
 * @param array $pages list of page objects
 */
function update_page_cache(&$pages)
{
    _deprecated_function(__FUNCTION__, '3.4.0', 'update_post_cache()');
    update_post_cache($pages);
}

WordPress Version: 4.4

/**
 * Alias of update_post_cache().
 *
 * @see update_post_cache() Posts and pages are the same, alias is intentional
 *
 * @since 1.5.1
 * @deprecated 3.4.0 Use update_post_cache()
 * @see update_post_cache()
 *
 * @param array $pages list of page objects
 */
function update_page_cache(&$pages)
{
    _deprecated_function(__FUNCTION__, '3.4', 'update_post_cache()');
    update_post_cache($pages);
}

WordPress Version: 3.7

/**
 * Alias of update_post_cache().
 *
 * @see update_post_cache() Posts and pages are the same, alias is intentional
 *
 * @since 1.5.1
 * @deprecated 3.4.0
 *
 * @param array $pages list of page objects
 */
function update_page_cache(&$pages)
{
    _deprecated_function(__FUNCTION__, '3.4', 'update_post_cache()');
    update_post_cache($pages);
}