pods_api_cache

Determine if Pods API Caching is enabled.

Description

pods_api_cache(); 

Usage

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

Defined (1)

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

/includes/general.php  
  1. function pods_api_cache () { 
  2. if ( defined( 'PODS_API_CACHE' ) && !PODS_API_CACHE ) 
  3. return false; 
  4.  
  5. return true;