Except as provided by this chapter for an area in which a local option stock law has been adopted, each gardener or farmer shall make a sufficient fence around cleared land in cultivation that is at least five feet high and will prevent hogs from passing through.