Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a Multisite where I'm creating a user from a PHP file, using the code below:

define('WP_USE_THEMES', false); 
require_once (dirname (dirname (__FILE__)) . '/mygroup/wp-blog-header.php'); 
require_once (dirname (dirname (__FILE__)) . '/mygroup/wp-includes');

$user_id = wp_create_user($org_username, $org_password, $org_email);

Now, how would I create a blog for the same user?

share|improve this question

1 Answer 1

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.