wp_theme_files_cache_ttl
wp_theme_files_cache_ttl
Hook Type: filter
Displaying hooks found in version: wordpress-6.7.1apply_filters('wp_theme_files_cache_ttl') is found 1 times:
- /wp-includes/class-wp-theme.php line 2016
*
* @param int $cache_expiration Cache expiration time in seconds.
* @param string $cache_type Type of cache being set.
*/
$cache_expiration = (int) apply_filters( ‘wp_theme_files_cache_ttl’, self::$cache_expiration, ‘theme_block_patterns’ );// We don’t want to cache patterns infinitely.
if ( $cache_expiration <= 0 ) { _doing_it_wrong( __METHOD__, sprintf( [/php]