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



wp_theme_files_cache_ttl › WordPress Filter Hooks

Since6.6.0
Deprecatedn/a
apply_filters( 'wp_theme_files_cache_ttl', self::$cache_expiration, 'theme_block_patterns' )
Parameters: (2)
  • (int) $cache_expiration Cache expiration time in seconds.
    Required: Yes
  • (string) $cache_type Type of cache being set.
    Required: Yes
Defined at:
Codex:

Filters the cache expiration time for theme files.





Source

$cache_expiration = (int) apply_filters( 'wp_theme_files_cache_ttl', self::$cache_expiration, 'theme_block_patterns' );