Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Stop Registration Redirect

  • Profile photo of guynumber6
    guynumber6
    Participant

    @guynumber6

    I have a very specific need in my registrations. How can I use BuddyPress but without the registration process that BuddyPress provides.
    I know it has something to do with bp-custom.php but I cannot figure out the right code. Please help.

Viewing 1 replies (of 1 total)
  • Profile photo of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    You can either put this in your theme’s functions.php

    
       remove_action( 'bp_init', 'bp_core_wpsignup_redirect' );
    
    

    or this in your bp-custom.php

    
    add_action('bp_loaded','bp_custom_remove_register_redirect');
    function bp_custom_remove_register_redirect(){
        remove_action( 'bp_init', 'bp_core_wpsignup_redirect' );
    
    }
    

    both will work.

    Hope that helps.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Stop Registration Redirect’ is closed to new replies.
Skip to toolbar