Hi, I'd like a user to be able to select a template as they are creating a subsite (I need to do this after* the user is registered for my UX flow), so far - I'm at the point where the user enters information in a form and the subsite is created with an ajax request (wpmu_create_blog) and the new blog id is returned.
Once the subsite is created, I'm looking to return the available blog templates, their description, and image to the form, so that a user can click the one they like and have it update their site using the new blog ID. I also need to limit the templates returned based on other conditions, so this is why I need it done in the backend.
I am not seeing any API etc. to access the blog templates in the backend. Do you have one and if not how do I go about doing this? Thank you