delete_widget

Advertisement

Summery Summery

Fires immediately after a widget has been marked for deletion.

Syntax Syntax

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

Parameters Parameters

$widget_id

ID of the widget marked for deletion.

$sidebar_id

ID of the sidebar the widget was deleted from.

$id_base

ID base for the widget.

Source Source

File: wp-admin/widgets.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply