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

$optionstring
Name of the deleted option.

Source

do_action( "delete_option_{$option}", $option );

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.