Skip to content

Instantly share code, notes, and snippets.

@r-a-y r-a-y/gist:5578432

Last active Jul 23, 2020
Embed
What would you like to do?
Disable BuddyPress' registration and use WP's instead. Paste this in /wp-content/plugins/bp-custom.php.
/**
* Disables BuddyPress' registration process and fallsback to WordPress' one.
*/
function my_disable_bp_registration() {
remove_action( 'bp_init', 'bp_core_wpsignup_redirect' );
remove_action( 'bp_screens', 'bp_core_screen_signup' );
}
add_action( 'bp_loaded', 'my_disable_bp_registration' );
@unsalkorkmaz

This comment has been minimized.

Copy link

unsalkorkmaz commented Aug 14, 2013

I suggest to add

  add_filter( 'bp_get_signup_page', "firmasite_redirect_bp_signup_page");
    function firmasite_redirect_bp_signup_page($page ){
        return bp_get_root_domain() . '/wp-signup.php'; 
    }
@stray-leone

This comment has been minimized.

Copy link

stray-leone commented Dec 14, 2014

@unsalkorkmaz
the way you suggest doesn't work for me.
when I try with gistfile1.php, it works.
I don't know why your way doesn't work for me.

@stofferd

This comment has been minimized.

Copy link

stofferd commented Nov 30, 2018

This method no longer appears to work, at least on multisite?

@fabianski7

This comment has been minimized.

Copy link

fabianski7 commented May 20, 2019

instead of using return bp_get_root_domain() . '/wp-signup.php';

use return bp_get_root_domain() . '/wp-login.php?action=register';

@Hastibe

This comment has been minimized.

Copy link

Hastibe commented Jul 23, 2020

Even with the update that @fabianski7 added, this code has no effect on the BuddyPress registration page for me. Any other suggestions or updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.