wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_theme_files_cache_ttl › WordPress过滤钩子

Since6.6.0
已弃用n/a
apply_filters( 'wp_theme_files_cache_ttl', self::$cache_expiration, 'theme_block_patterns' )
参数: (2)
  • (int) $cache_expiration Cache expiration time in seconds.
    Required: Yes
  • (string) $cache_type Type of cache being set.
    Required: Yes
定义在:
文档:

Filters the cache expiration time for theme files.





源码

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