WordPress at a glance
function is not described

update_page_cache() WP 1.5.1

Deprecated in 3.4.0. It is no longer supported and can be removed in future releases. Use update_post_cache() instead.

Alias of update_post_cache().

  • See: update_post_cache() Posts and pages are the same, alias is intentional
  • See: update_post_cache()

No Hooks.


Nothing (null).


update_page_cache( $pages );
$pages(array) (required) (passed by reference — &)
list of page objects

Code of update page cache: wp-includes/deprecated.php WP 5.2.2

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

	update_post_cache( $pages );