Redirect after registration in BuddyPress

In Buddypress, after Registration first step, users are redirected to Change Avatar step. Im trying to find a way to redirect to an alternate page, for example: http://www.mysite.com/yeah Im using the following code, but Im continuously redirected to Change Avatar page.

function custom_filter_bp_signup() {

    global $current_site;

    return 'http://' . $current_site->domain . $current_site->path . 'yeah';

} 

add_filter('wp_signup_location', 'custom_filter_bp_signup');

Any help is welcome,

Read More

Thanks in advance.

Related posts

Leave a Reply

2 comments

  1. Yeah I ge it:

    function bp_redirect($user) {
    
        $redirect_url = 'http://www.mysite.com/yeah';
    
        bp_core_redirect($redirect_url);
    
    }
    
    add_action('bp_core_signup_user', 'bp_redirect', 100, 1);
    
  2. function your_function($signup) {
       // $signup is the user id of the person who has just been added  
    }
    add_filter( 'bp_core_activate_account', 'your_function' );