C_Pope_Cache_SingleFile_Shutdown

The NextGEN Gallery C Pope Cache SingleFile Shutdown function.

Description

C_Pope_Cache_SingleFile_Shutdown(); 

Usage

  1. if ( !function_exists( 'C_Pope_Cache_SingleFile_Shutdown' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'nextgen-gallery/pope/lib/class.pope_cache.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = C_Pope_Cache_SingleFile_Shutdown(); 
  7.  

Defined (1)

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

/pope/lib/class.pope_cache.php  
  1. function C_Pope_Cache_SingleFile_Shutdown() 
  2. $filename = C_Pope_Cache_SingleFile::get_filename(); 
  3. @file_put_contents( 
  4. $filename,  
  5. json_encode(C_Pope_Cache_SingleFile::$cache) 
  6. );