Re: limit 1 blog per user
I wanted to removed “Create a Blog!” from of the buddypress admin bar.
This is what I got to work:
wp-content/mu-plugins/bp-core/bp-core-adminbar.php
$blogscheck = get_blogs_of_user($current_user->ID);
if ( ! empty($blogscheck)
{
echo '<a href="' . $bp['loggedin_domain'] . $bp['blogs']['slug'] . '/create-a-blog">' . __("Create a Blog!", 'buddypress') . '</a>';
}