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
$cache_expiration = apply_filters( 'wp_cache_themes_persistently', false, 'search_theme_directories' );
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.