wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



rest_url_details_cache_expiration › Les Filtres WordPress

Depuis5.9.0
Dépréciéen/a
apply_filters( 'rest_url_details_cache_expiration', $ttl )
Paramètres:
  • (int) $ttl The time until cache expiration in seconds.
    Requis: Oui
Défini(e) dans:
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.





Source

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