wp core multisite-convert()

Transforms an existing single-site installation into a multisite installation.