update_page_cache()
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
. Nothing (null).
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() |
update_page_cache() update page cache code WP 6.7.1
function update_page_cache( &$pages ) { _deprecated_function( __FUNCTION__, '3.4.0', 'update_post_cache()' ); update_post_cache( $pages ); }