On this page
apply_filters( "pre_set_transient_{$transient}", mixed $value, int $expiration, string $transient )
Filters a specific transient before its value is set.
Description
The dynamic portion of the hook name, $transient, refers to the transient name.
Parameters
$valuemixed-
New value of transient.
$expirationint-
Time until expiration in seconds.
$transientstring-
Transient name.
Source
File: wp-includes/option.php. View all references
$value = apply_filters( "pre_set_transient_{$transient}", $value, $expiration, $transient );
Related
Used By
| Used By | Description |
|---|---|
| set_transient() wp-includes/option.php | Sets/updates the value of a transient. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_set_transient_transient