w3tc_fragmentcache_flush_fragment

Flushes a fragment from the cache.

Description

w3tc_fragmentcache_flush_fragment( (unknown) $id, (string) $group = '' ); 

Parameters (2)

0. $id (unknown)
The id.
1. $group — Optional. (string) => ''
The group.

Usage

  1. if ( !function_exists( 'w3tc_fragmentcache_flush_fragment' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'w3-total-cache/Extension_FragmentCache_Api.php'; 
  3.  
  4. // The id. 
  5. $id = null; 
  6.  
  7. // The group. 
  8. $group = ''; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = w3tc_fragmentcache_flush_fragment($id, $group); 
  12.  

Defined (1)

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

/Extension_FragmentCache_Api.php