delete_get_calendar_cache

Purge the cached results of get_calendar.

Description

delete_get_calendar_cache(); 

Usage

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

Defined (1)

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

/wp-includes/general-template.php  
  1. function delete_get_calendar_cache() { 
  2. wp_cache_delete( 'get_calendar', 'calendar' );