WordPress at Your Fingertips
action is not described

unregister_setting action-hook . WP 5.5.0

Fires immediately before the setting is unregistered and after its filters have been removed.

Usage

add_action( 'unregister_setting', 'action_function_name_3529', 10, 2 );
function action_function_name_3529( $option_group, $option_name ){
	// action...
}
$option_group(string)
Setting group.
$option_name(string)
Setting name.

Changelog

Since 5.5.0 Introduced.

Where the hook is called

unregister_setting()
unregister_setting
wp-includes/option.php 2404
do_action( 'unregister_setting', $option_group, $option_name );

Where in WP core the hook is used WordPress

Usage not found.