apply_filters( ‘wp_theme_files_cache_ttl’, int $cache_expiration, string $cache_type )

In this article

Filters the cache expiration time for theme files.

Parameters

$cache_expirationint
Cache expiration time in seconds.
$cache_typestring
Type of cache being set.

Source

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

Changelog

VersionDescription
6.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.