Closed BE-Webdesign closed 5 years ago
With apologies to @BE-Webdesign for the lack of maintenance on the widgets piece of this repository, I'm going to close this. Per #35 we have separated widgets code out into a new repository wp-api/widgets-endpoints
; if you are still interested in pursuing this change, I'd encourage you to re-open this there. I do caveat that suggestion with the warning that based on recent developments in Gutenberg, the widgets piece of this work may never land in core, so it may not be the most productive project to work on. Thank you for your contribution nevertheless!
Added a delete_item method to the widgets controller. Should work with #17 and #18 should work with #17 as well. If you have a good idea on what the delete_item method should return put it in the comments it currently only returns the array of instances for the widget type that the instance is being deleted from.