Fires after a widget is deleted via the REST API.
$widget_idstring
$sidebar_idstring
$responseWP_REST_Response|WP_Error
$requestWP_REST_Request
do_action( 'rest_delete_widget', $widget_id, $sidebar_id, $response, $request );
| Version | Description |
|---|---|
| 5.8.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_delete_widget