Is there some API or plugin that allows for creation of sites on a multisite install? Jetpack doesn't seem to allow it, and the xml rpc doesn't seem to support multisite. Is there something I can use as a JSON API or some other sort of http call to do this?
1 Answer
I ended up creating one myself. I'm not sure if the new wordpress rest API contains functionality that duplicates this so you may want to investigate that first.
-
Please extend the answer since link only answers are not recommended, thanks.– birgireCommented Mar 12, 2016 at 8:44
wpmu_create_blog()
appears to be the function you can call from within a WordPress plugin. codex.wordpress.org/WPMU_Functions/wpmu_create_blog