I've setup a WP MU site and I need to know how to sign up a user to a specific blog when they register. As it is now, if a visitor is visiting a specific site and they click the register button they are taken to the main network site and then they are given the option to register as a user or create their own blog.
I can create my own registration page but I'm not sure how to add that user to a specific site.
This is what I have so far:
$meta = apply_filters( 'add_signup_meta', array() ); $emailSent = wpmu_signup_user( $user_name, $user_email, $meta );