update_category_cache

Update the categories cache.

Description

update_category_cache(); 

This function does not appear to be used anymore or does not appear to be needed. It might be a legacy function left over from when there was a need for updating the category cache.


Usage

  1. if ( !function_exists( 'update_category_cache' ) ) { 
  2. require_once ABSPATH . WPINC . '/deprecated.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = update_category_cache(); 
  7.  

Defined (1)

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

/wp-includes/deprecated.php  
  1. function update_category_cache() { 
  2. _deprecated_function( __FUNCTION__, '3.1.0' ); 
  3.  
  4. return true;