On this page
do_action( "set_transient_{$transient}", mixed $value, int $expiration, string $transient )
Fires after the value for a specific transient has been set.
Description
The dynamic portion of the hook name, $transient, refers to the transient name.
Parameters
$valuemixed-
Transient value.
$expirationint-
Time until expiration in seconds.
$transientstring-
The name of the transient.
Source
File: wp-includes/option.php. View all references
do_action( "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/set_transient_transient