setted_transient хук-событие . WP 3.0.0
Fires after the value for a transient has been set.
Использование
add_action( 'setted_transient', 'action_function_name_7075', 10, 3 ); function action_function_name_7075( $transient, $value, $expiration ){ // action... }
- $transient(строка)
- The name of the transient.
- $value(смешанный)
- Transient value.
- $expiration(число)
- Time until expiration in seconds.
Список изменений
С версии 3.0.0 | Введена. |
С версии 3.6.0 | The $value and $expiration parameters were added. |
Где вызывается хук
setted_transient
wp-includes/option.php 937
do_action( 'setted_transient', $transient, $value, $expiration );