All fees, commissions, allowances, or other compensation heretofore collected by or paid to officials on a fee basis of compensation shall hereafter be paid into the general fund of their respective counties.