@sajib1223
11 years ago
Ok, to properly stop the redirect, you need to hook into WP init action.
init
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.