S.C. Code Ann. § 46-45-60
(A) Notwithstanding any local law or ordinance, an agricultural operation or facility is considered to be in compliance with the local law or ordinance if the operation or facility would otherwise comply with state law or regulations governing the facility or operation. With the exception of new swine operations and new slaughterhouse operations, to the extent an ordinance of a unit of local government: