W3cubDocs

/WordPress

apply_filters( 'wp_cache_themes_persistently', bool $cache_expiration, string $cache_directory )

Filters whether to get the cache of the registered theme directories.

Description

Parameters

$cache_expiration

(bool) Whether to get the cache of the theme directories. Default false.

$cache_directory

(string) Directory to be searched for the cache.

Source

File: wp-includes/theme.php

View on Trac

Changelog

Version Description
3.4.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_cache_themes_persistently