This act or any sanitary codes adopted as provided in this act shall not apply to incorporated cities or to any premises under one ownership which exceeds 10 acres in area, unless such code specifically provides for a greater acreage limitation, and which is used only for agricultural purposes. For the purposes of this act, "agricultural purpose" means a purpose related to the production of livestock or crops.
K.S.A. 19-3706