Skip to content

Instantly share code, notes, and snippets.

@andrewlimaza
Forked from r-a-y/gist:5578432
Created October 20, 2016 13:45
Show Gist options
  • Save andrewlimaza/0eff5977c9aa188bd001fdd9d0a00d85 to your computer and use it in GitHub Desktop.
Save andrewlimaza/0eff5977c9aa188bd001fdd9d0a00d85 to your computer and use it in GitHub Desktop.
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' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment