W3cubDocs

/WordPress

do_action( ‘setted_transient’, string $transient, mixed $value, int $expiration )

Fires after the value for a transient has been set.

Parameters

$transientstring
The name of the transient.
$valuemixed
Transient value.
$expirationint
Time until expiration in seconds.

Source

do_action( 'setted_transient', $transient, $value, $expiration );

Changelog

Version Description
3.6.0 The $value and $expiration parameters were added.
3.0.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/setted_transient