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

update_page_cache() WordPress Function

The update_page_cache() function is used to update the cache for a given page. It is typically called after a page has been updated or created.

update_page_cache( array $pages ) #

Alias of update_post_cache().


Description

Top ↑

See also


Top ↑

Parameters

$pages

(array)(Required)list of page objects


Top ↑

Source

File: wp-includes/deprecated.php

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

	update_post_cache( $pages );
}


Top ↑

Changelog

Changelog
VersionDescription
3.4.0Use update_post_cache()
1.5.1Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More