A WordPress-centric search engine for devs and theme authors



wp_cache_themes_persistently ›

Since3.4.0
Deprecatedn/a
apply_filters( 'wp_cache_themes_persistently', false, 'search_theme_directories' )
Parameters: (2)
  • (bool) $cache_expiration Whether to get the cache of the theme directories. Default false.
    Required: Yes
  • (string) $cache_directory Directory to be searched for the cache.
    Required: Yes
Defined at:
Codex:

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





Source

if ( $cache_expiration = apply_filters( 'wp_cache_themes_persistently', false, 'search_theme_directories' ) ) {