wp site delete <site-id>
Deletes a site in a multisite installation
Arguments
Name | Description |
---|---|
site-id | The id of the site to delete. If not provided, you must set the –slug parameter |
Options
Name | Description |
---|---|
--slug <slug> | Path of the blog to be deleted. Subdomain on subdomain installs, directory on subdirectory installs |
--yes | Answer yes to the confirmation message |
--keep-tables | Delete the blog from the list, but don’t drop it’s tables |