deleted_transient
Fires after a transient is deleted.
Usage
add_action( 'deleted_transient', 'wp_kama_deleted_transient_action' ); /** * Function for `deleted_transient` action-hook. * * @param string $transient Deleted transient name. * * @return void */ function wp_kama_deleted_transient_action( $transient ){ // action... }
- $transient(string)
- Deleted transient name.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
deleted_transient
wp-includes/option.php 1178
do_action( 'deleted_transient', $transient );