title: How to dynamically create a new site in Multisite with a PHP script?
body: <p>How can I create a subsite in a Multisite WordPress installation with a PHP script?<br>
  I've read about <code>wpmu_create_blog()</code> but I don't understand how use it.</p>
  
  <p>I receive this error:</p>
  
  <blockquote>
    <p>Fatal error: Call to undefined function wpmu_create_blog()</p>
  </blockquote>
  
  <p>How to solve this?</p>