delete_transient_{$transient} WordPress Action Hook
The delete_transient_{$transient} hook is called whenever a transient is deleted. It is useful for performing cleanup tasks when a transient is no longer needed.
do_action( "delete_transient_{$transient}", string $transient ) #
Fires immediately before a specific transient is deleted.
Description
The dynamic portion of the hook name, $transient
, refers to the transient name.
Parameters
- $transient
(string)Transient name.
Source
File: wp-includes/option.php
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |