On this page
do_action( 'delete_option', string $option )
Fires immediately before an option is deleted.
Parameters
$optionstring-
Name of the option to delete.
Source
File: wp-includes/option.php. View all references
do_action( 'delete_option', $option );
Related
Used By
| Used By | Description |
|---|---|
| delete_option() wp-includes/option.php | Removes option by name. Prevents removal of protected WordPress options. |
Changelog
| Version | Description |
|---|---|
| 2.9.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/delete_option