wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



rest_url_details_cache_expiration › WordPress Filter Hooks

Seit5.9.0
Veraltetn/v
apply_filters( 'rest_url_details_cache_expiration', $ttl )
Parameter:
  • () ttl The time until cache expiration in seconds.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the cache expiration.

Can be used to adjust the time until expiration in seconds for the cache of the data retrieved for the given URL.




Quellcode

$cache_expiration = apply_filters( 'rest_url_details_cache_expiration', $ttl );