wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_theme_files_cache_ttl › Filtr WordPress Hooks

Od6.6.0
Przestarzałyn/a
apply_filters( 'wp_theme_files_cache_ttl', self::$cache_expiration, 'theme_block_patterns' )
Parametry: (2)
  • (int) $cache_expiration Cache expiration time in seconds.
    Wymagane: Tak
  • (string) $cache_type Type of cache being set.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the cache expiration time for theme files.





Źródło

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