delete_widget – action

Fires immediately after a widget has been marked for deletion. 

Parameters

.
( 4.4.0 ) . .
$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. . . .
API Letters: ,

Implementers