pods_transient_clear

Clear a cached value.

Description

pods_transient_clear( (bool) $key = true ); 

Parameters (1)

0. $key — Optional. (bool) => true
Key for the cache

Usage

  1. if ( !function_exists( 'pods_transient_clear' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'pods-custom-content-types-and-fields/includes/general.php'; 
  3.  
  4. // Key for the cache 
  5. $key = true; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = pods_transient_clear($key); 
  9.  

Defined (1)

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

/includes/general.php  
  1. function pods_transient_clear ( $key = true ) { 
  2. return pods_view_clear( $key, 'transient' );