Set multisite settings when new site created
install.php is only run during installation, it wont be run during new site creation. You’d need to put that code in a mu-plugin to have any chance of running. (I guess it could also exist in a network-activated plugin, but I’m not 100% sure of that) Add the following before your code, and put your … Read more