Filters whether to get the cache of the registered theme directories.
Parameters
$cache_expirationbool- Whether to get the cache of the theme directories. Default false.
$contextstring- 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.