deleted_transient action-hookWP 3.0.0

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

delete_transient()
deleted_transient
wp-includes/option.php 811
do_action( 'deleted_transient', $transient );

Where the hook is used in WordPress

Usage not found.