delete_option_(option) action-hook . WP 3.0.0
Fires after a specific option has been deleted.
The dynamic portion of the hook name, $option, refers to the option name.
Usage
add_action( 'delete_option_(option)', 'action_function_name_4826' ); function action_function_name_4826( $option ){ // action... }
- $option(string)
- Name of the deleted option.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
wp-includes/option.php 691
do_action( "delete_option_{$option}", $option );