update_page_cache

Alias of update_post_cache().

Description

update_page_cache( (array) &$pages ); 

Parameters (1)

0. $pages (array) => &$pages
List of page objects

Usage

  1. if ( !function_exists( 'update_page_cache' ) ) { 
  2. require_once ABSPATH . WPINC . '/deprecated.php'; 
  3.  
  4. // list of page objects 
  5. $pages = array(); 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = update_page_cache($pages); 
  9.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/deprecated.php  
  1. function update_page_cache( &$pages ) { 
  2. _deprecated_function( __FUNCTION__, '3.4.0', 'update_post_cache()' ); 
  3.  
  4. update_post_cache( $pages );