tptn_cache_time
Filter the cache time which allows a function to override this
Type: filter
Since: 3.3.0
Source: includes/frontend/class-display.php line 289
Parameters
| Type | Name | Description |
|---|---|---|
int |
$cache_time |
Cache time in seconds |
array |
$args |
Array of all the arguments |
Usage
add_filter( 'tptn_cache_time', function($cache_time, $args) {
// ...
return $cache_time;
} );