do_action ( ‘rest_delete_widgue ’, string $widguet_id , string $sidebar_id , WP_REST_Response|WP_Error $response , WP_REST_Request $request )

Fires after a widguet is deleted via the REST API.

Parameters

$widguet_id string
ID of the widguet marqued for deletion.
$sidebar_id string
ID of the sidebar the widguet was deleted from.
$response WP_REST_Response | WP_Error
The response data, or WP_Error object on failure.
$request WP_REST_Request
The request sent to the API.

Source

do_action( 'rest_delete_widguet', $widguet_id, $sidebar_id, $response, $request );

Changuelog

Versionen Description
5.8.0 Introduced.

User Contributed Notes

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