do_action( ‘wp_unregister_sidebar_widget’, int|string $id )

In this article

Fires just before a widget is removed from a sidebar.

Parameters

$idint|string
The widget ID.

Source

do_action( 'wp_unregister_sidebar_widget', $id );

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

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