apply_filters( 'wp_cache_themes_persistently', bool $cache_expiration , string $context )
Filters whether to get the cache of the registered theme directories.
Parameters
-
$cache_expiration
bool -
Whether to get the cache of the theme directories. Default false.
-
$context
string -
The class or function name calling the filter.
Source
File: wp-includes/theme.php
.
View all references
$cache_expiration = apply_filters( 'wp_cache_themes_persistently', false, 'search_theme_directories' );
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |