Creating a new blog using PHP June 8, 2022 by Tarik Billa this would do the trick? http://codex.wordpress.org/WPMU_Functions/wpmu_create_blog