WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about rest_url_details_cache_expiration

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/rest-api/endpoints/class-wp-rest-url-details-controller.php apply_filters 479 /**
* 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.
*
* @since 5.9.0
*
* @param int $ttl The time until cache expiration in seconds.
*/

Hook Parameters

Parameter Type Name Description
int $ttl The time until cache expiration in seconds.