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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to disable account activation for WPMU then log the user in and redirect them to another page?

I am running on WPMU with BuddyPress.

share|improve this question

In a WPMU setup the account information is sent to the wp_signup table before being passed to the wp_users table.

an easy fix for this is:

function your_disable_activation( $user, $user_email, $key, $meta = '' ) {
    // Activate the user
    $user_id = wpmu_activate_signup( $key );

    wp_set_auth_cookie( $user_id, true, is_ssl() );

    wp_redirect( /*redirect to */ site_url() );

add_filter( 'wpmu_signup_user_notification', 'your_disable_activation', 10, 4 );
share|improve this answer

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.