W3cubDocs

/WordPress

update_page_cache( array $pages )

This function has been deprecated. Use update_post_cache() instead.

Alias of update_post_cache().

Description

See also

Parameters

$pages

(array) (Required) list of page objects

Source

File: wp-includes/deprecated.php

function update_page_cache( &$pages ) {
	_deprecated_function( __FUNCTION__, '3.4.0', 'update_post_cache()' );

	update_post_cache( $pages );
}

Changelog

Version Description
3.4.0 Use update_post_cache()
1.5.1 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/update_page_cache