Recent

tptn_network_dashboard_cache_ttlfilter

tptn_network_dashboard_cache_ttl

Filters how long the network dashboard widget output is cached.

Type: filter
Since: 4.5.0
Source: includes/admin/class-dashboard-widgets.php line 278

Parameters

Type Name Description
int $cache_ttl Cache lifetime in seconds. Default 15 minutes.

Usage

add_filter( 'tptn_network_dashboard_cache_ttl', function($cache_ttl) {
    // ...
    return $cache_ttl;
} );