int $postid, WP_Post $post )
Fires immediately before a post is deleted from the database.
(int) Post ID.
(WP_Post) Post object.
Take note, by the time the hook triggers, the post comments and metadata would have already been deleted. Use the before_delete_post hook to catch post deletion before that.