Filters the cache expiration time for theme files.
Parameters
$cache_expiration
int- Cache expiration time in seconds.
$cache_type
string- Type of cache being set.
Source
$cache_expiration = (int) apply_filters( 'wp_theme_files_cache_ttl', self::$cache_expiration, 'theme_block_patterns' );
Changelog
Version | Description |
---|---|
6.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.