wp post delete <id>
Deletes an existing post
Arguments
| Name | Description |
|---|---|
id | One or more IDs of posts to delete |
Options
| Name | Description |
|---|---|
--force | Skip the trash bin |
--defer-term-counting | Recalculate term count in batch, for a performance boost |
Deletes an existing post
| Name | Description |
|---|---|
id | One or more IDs of posts to delete |
| Name | Description |
|---|---|
--force | Skip the trash bin |
--defer-term-counting | Recalculate term count in batch, for a performance boost |