Skip to:
Content
Pages
Categories
Search
Top
Bottom

Use default WP registration page in Buddypress


  • kaosone1975
    Participant

    @kaosone1975

    Hi guys,
    Hi need to set the registration page of BuddyPress to default WordPress registration page.
    BuddyPress registration page ==> WordPress registration page (wp-login.php? Action = register)
    I tried several plugins (obsolete), and various snippets (non-functioning).
    There is some redirect code, snippets, or plug in make this?
    Someone can tell me how to make the current version of BuddyPress?
    Thanks!

Viewing 1 replies (of 1 total)

  • danbp
    Participant

    @danbp

    Hi @kaosone1975,

    add those snippets to bp-custom.php and give a try:

    function bpfr_redirect() {
    
    	if ( bp_is_current_component( 'register' ) ) {
    		wp_redirect( get_option('siteurl') . '/wp-login.php?action=register' );
    	} 
    
    }
    add_filter('get_header','bpfr_redirect', 1 );
    
    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' );
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar