WordPress at a glance
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.


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

Список изменений

С версии 5.5.0 Введена.

Где вызывается хук

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

Где используется хук в ядре WP

Использование не найдено.