Not sure what you mean by bail bonds. The way it works in most states is that the accused or the family of the accused goes to a bail bondsman. The bail bondsman puts up 100% of the bail (in this case $2 million) to the court. The family pays the bail bondsman 10% of the bond; this is a fee to the bail bondsman NOT the court, and is gone for good to the bail bondsman. If the accused show up the bondsman gets back his $2million, but the family is permanently out their 10%. If the accused doesn’t show up the court keeps the bondman’s $2 million, and the bondsman sets bounty hunters on the trail of the fugitive. Most places the court doesn’t care where the $2million comes from - it’s a private transaction between the bondsman on the accused.
In most states, that’s how it works. Wisconsin, however, does not allow bail bondsmen to operate. So they don’t, and the accused has to come up with the entire amount.