Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ok, to properly stop the redirect, you need to hook into WP init action.

    	add_action( 'init', 'signup_redirect_remove_init', 9 );
    function signup_redirect_remove_init(){
    	remove_action( 'bp_init', 'bp_core_wpsignup_redirect' );
    }

    Note: the priority should be lower than 10, as we need to remove action before it fires.

    Ok, to properly stop the redirect, you need to hook into WP init action.

    	add_action( 'init', 'signup_redirect_remove_init', 9 );
    function signup_redirect_remove_init(){
    	remove_action( 'bp_init', 'bp_core_wpsignup_redirect' );
    }

    Note: the priority should be lower than 10, as we need to remove action before it fires.

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar