WordPress network: set themes and plugins for new blog

This WPSE answer led me to the $meta argument for wpmu_create_blog. That led me to this Support thread showing that $meta can include template and stylesheet arguments which seem to contain the folder name for the theme you want (just like the “Template” field in a child theme’s style.css head section).

I’m having a hard time finding good documentation on wpmu_create_blog, but hopefully this is enough to work on.

Leave a Comment