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

View on Trac

Changelog

Version Description
3.0.0 Introduced.

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