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



rest_url_details_cache_expiration › Filtr WordPress Hooks

Od5.9.0
Przestarzałyn/a
apply_filters( 'rest_url_details_cache_expiration', $ttl )
Parametry:
  • (int) $ttl The time until cache expiration in seconds.
    Wymagane: Tak
Zdefiniowane na:
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.





Źródło

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