WordPress at a glance
action is not described

delete_widget action-hook . WP 4.4.0

Fires immediately after a widget has been marked for deletion.

Usage

add_action( 'delete_widget', 'action_function_name_3863', 10, 3 );
function action_function_name_3863( $widget_id, $sidebar_id, $id_base ){
	// action...
}
$widget_id(string)
ID of the widget marked for deletion.
$sidebar_id(string)
ID of the sidebar the widget was deleted from.
$id_base(string)
ID base for the widget.

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

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

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

В файле: /wp-admin/widgets.php
delete_widget
wp-admin/widgets.php 185
do_action( 'delete_widget', $widget_id, $sidebar_id, $id_base );
wp-admin/includes/ajax-actions.php 2326
do_action( 'delete_widget', $widget_id, $sidebar_id, $id_base );

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

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