W3cubDocs

/WordPress

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

View on Trac

Changelog

Version Description
2.9.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/delete_option