Filters the expiration for a site transient before its value is set.
The dynamic portion of the hook name, $transient, refers to the transient name.
$expirationint
$valuemixed
$transientstring
$expiration = apply_filters( "expiration_of_site_transient_{$transient}", $expiration, $value, $transient );
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/expiration_of_site_transient_transient