---
layout: default
title: 'wp widget delete'
display_global_parameters: true
---

<small>[Commands](/commands/) &raquo; [widget](/commands/widget/) &raquo; delete</small>

`wp widget delete` - Delete one or more widgets from a sidebar.

<small>Quick links: <a href="https://github.com/wp-cli/wp-cli/issues?q=is%3Aopen+label%3Acommand%3Awidget-delete+sort%3Aupdated-desc">Github issues</a></small>

<hr />

### OPTIONS

&lt;widget-id&gt;...
: Unique ID for the widget(s)

### EXAMPLES

    # Delete the recent-comments-2 widget from its sidebar.
    $ wp widget delete recent-comments-2
    Success: Deleted 1 of 1 widgets.



