Fires immediately after a widget has been marked for deletion.
Parameters
$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.
Source
do_action( 'delete_widget', $widget_id, $sidebar_id, $id_base );
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.