W3cubDocs

/WordPress

update_page_cache( array $pages )

Alias of update_post_cache() .

Description

See also

Parameters

$pagesarrayrequired
list of page objects

Source

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–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/update_page_cache