creating new blog using php
-
hello
I have a multisite where i am creating a user from a php file by using the below given code…define('WP_USE_THEMES', false); require_once (dirname (dirname (__FILE__)) . '/mygroup/wp-blog-header.php'); require_once (dirname (dirname (__FILE__)) . '/mygroup/wp-includes $org_username=$_SESSION['user_name']; $org_password=$_SESSION['org_password']; $org_email=$_SESSION['org_email']; $user_id = wp_create_user($org_username, $org_password, $org_email) ;
Now I want to create a blog for the same user.
How Do I do that?thanks in advance
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘creating new blog using php’ is closed to new replies.