update_page_cache() WP 1.5.1
Deprecated from version 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().
No Hooks.
Return
null
. Null. Nothing.
Usage
update_page_cache( $pages );
- $pages(array) (required) (passed by reference — &)
- list of page objects
Notes
- See: update_post_cache() Posts and pages are the same, alias is intentional
- See: update_post_cache()
Changelog
Since 1.5.1 | Introduced. | |
Deprecated Since 3.4.0 | Use update_post_cache() |
Code of update_page_cache() update page cache WP 5.7.1
function update_page_cache( &$pages ) {
_deprecated_function( __FUNCTION__, '3.4.0', 'update_post_cache()' );
update_post_cache( $pages );
}