update_page_cache( array $pages )
This function has been deprecated. Use update_post_cache() instead.
Alias of update_post_cache().
Description
See also
- update_post_cache(): Posts and pages are the same, alias is intentional
- update_post_cache()
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–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/update_page_cache