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
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_cache_themes_persistently