Plugin Resource for WordPress and WPMU
wpmu_create_blog($domain, $path, $title, $user_id, $meta = ”, $site_id = 1)

Summary: High-level function that creates a new blog with the given parameters

Detail:  This function is a high-level function that combines a number of other functions to create a new blog.  It uses the install_blog(), install_blog_defaults() and add_user_to_blog() to set all the needed values in the database.  This would be the preferred function to use when creating a new blog, rather than all the lower-level functions.

Tags: ,

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

No comments yet. Be the first.

Leave a reply