rest_delete_widget, $widget_id, $sidebar_id, $response, $request
rest_delete_widget, $widget_id, $sidebar_id, $response, $request
Appears in: 7.0.3
Hook Type: action
Displaying hooks found in version: 7.0.3do_action('rest_delete_widget, $widget_id, $sidebar_id, $response, $request') is found 1 times:
- /wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php line 473
* @param string $sidebar_id ID of the sidebar the widget was deleted from. * @param WP_REST_Response|WP_Error $response The response data, or WP_Error object on failure. * @param WP_REST_Request $request The request sent to the API. */ do_action( 'rest_delete_widget', $widget_id, $sidebar_id, $response, $request ); return $response; } /** * Performs a permissions check for managing widgets.