delete_option WordPress Action Hook
The delete_option hook is called when an option is deleted from the database. It allows you to take an action when an option is deleted.
do_action( 'delete_option', string $option ) #
Fires immediately before an option is deleted.
Parameters
- $option
(string)Name of the option to delete.
Source
File: wp-includes/option.php
Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |