setted_transient action-hookWP 3.0.0

Deprecated since 6.8.0. It is no longer supported and may be removed in future releases. See set_transient.

Fires after the transient is set.

Usage

add_action( 'setted_transient', 'wp_kama_setted_transient_action', 10, 3 );

/**
 * Function for `setted_transient` action-hook.
 * 
 * @param string $transient  The name of the transient.
 * @param mixed  $value      Transient value.
 * @param int    $expiration Time until expiration in seconds.
 *
 * @return void
 */
function wp_kama_setted_transient_action( $transient, $value, $expiration ){

	// action...
}
$transient(string)
The name of the transient.
$value(mixed)
Transient value.
$expiration(int)
Time until expiration in seconds.

Changelog

Since 3.0.0 Introduced.
Since 3.6.0 The $value and $expiration parameters were added.
Deprecated since 6.8.0 Use {@see 'set_transient'} instead.

Where the hook is called

set_transient()
setted_transient
wp-includes/option.php 1616
do_action_deprecated( 'setted_transient', array( $transient, $value, $expiration ), '6.8.0', 'set_transient' );

Where the hook is used in WordPress

Usage not found.