WordPress MU disable Make a New Blog

To disable “Make a New Blog” in wordpress MU:
You can modify wp-signup.php file:

Find string 14:

get_header();
and add after it this code:
if ( is_user_logged_in() ) {
$user = $current_user->user_login;
if ($user != 'admin') {
print "You can't create blogs.";
get_footer();
die();
}
} else {
print "You can't create blogs.";
get_footer();
die();
}

Leave a comment