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. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/delete_option