wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_cache_themes_persistently › WordPress Filter Hooks

Since3.4.0
Deprecatedn/a
apply_filters( 'wp_cache_themes_persistently', false, 'search_theme_directories' )
Parameters: (2)
  • () cache_expiration Whether to get the cache of the theme directories. Default false.
    Required: Yes
  • () context The class or function name calling the filter.
    Required: Yes
Defined at:
Codex:

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





Source

$cache_expiration = apply_filters( 'wp_cache_themes_persistently', false, 'search_theme_directories' );