Delete Arguments
The Events Calendar ORM can be used to delete posts in the database. This is a relatively straightforward process that does not require any arguments, but it can be combined with the query arguments to refine which posts should be deleted.
For example, this will delete all existing venues:
tribe_venues()->delete();
Whereas this will only delete the venue that has the id of 25:
tribe_venues()->where( 'id' , 25 )->delete();
The ->delete() functionality is available for any of the ORM Repositories (event, organizer, venue, ticket, and attendee).
Under the hood, this method uses 'wp_delete_post()' as a callback to delete the posts; however, this callback can be filtered using 'tribe_repository_delete_callback()'.
It also has a return value, which will be an array of the deleted post IDs.