setted_transient WordPress Action Hook
The setted_transient WordPress hook is fired when a new transient is set. This hook can be used to perform any actions required when a new transient is set.
do_action( 'setted_transient', string $transient , mixed $value , int $expiration ) #
Fires after the value for a transient has been set.
Parameters
- $transient
(string)The name of the transient.
- $value
(mixed)Transient value.
- $expiration
(int)Time until expiration in seconds.
Source
File: wp-includes/option.php
Changelog
Version | Description |
---|---|
3.6.0 | The $value and $expiration parameters were added. |
3.0.0 | Introduced. |