do_action( 'delete_widget', string $widget_id, string $sidebar_id, string $id_base )

Fires immediately after a widget has been marked for deletion.

Parameters Parameters


(string) ID of the widget marked for deletion.


(string) ID of the sidebar the widget was deleted from.


(string) ID base for the widget.

Top ↑

Source Source

File: wp-admin/widgets-form.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.