I’m also interested in turning off the registration process.
I saw this snippet (to be put into functions.php):
if ( bp_core_is_multisite() )
remove_action( ‘wp’, ‘bp_core_wpsignup_redirect’ );
else
remove_action( ‘init’, ‘bp_core_wpsignup_redirect’ );
from this thread:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/sign-up-redirects-to-registration-which-goes-nowhere/
But its not working yet for me.
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.
That code redirects to the root domain. Is there a way to make it to stay on the same subdomain? (I have multisite)