apply_filters( ‘wp_cache_themes_persistently’, bool $cache_expiration, string $context )

In this article

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

VersionDescription
3.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.