Supprimer un post.

BASH
                    # Supprimer sans passer par le corbeille
# wp post delete {postID} --force
wp post delete 1337 --force

# Supprimer toutes les pages
# wp post delete $(wp post list --post_type={post_type} --format=ids)
wp post delete $(wp post list --post_type='page' --format=ids)

# Supprimer toutes les pages dans la corbeille
# wp post delete $(wp post list --post_type={post_type} --post_status=trash --format=ids)
wp post delete $(wp post list --post_type='page' --post_status=trash --format=ids)