delete_option_{$option} WordPress Action Hook
The delete_option_{$option} hook is called when an option is deleted from the database. It is passed the name of the option being deleted.
do_action( "delete_option_{$option}", string $option ) #
Fires after a specific option has been deleted.
Description
The dynamic portion of the hook name, $option, refers to the option name.
Parameters
- $option
(string)Name of the deleted option.
Source
File: wp-includes/option.php
Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |