Skip to:
Content
Pages
Categories
Search
Top
Bottom

Redirect Register?


  • jstande
    Participant

    @jstande

    If the following is to redirect Registration from BP to WP, what would redirect from BP to [Peepso_Register] ? And exactly where would I put it?

    (Any reason why nobody has developed options to turn everything on or off in BP since it is so integrated with other themes and plugins?)

    /*disable registration bp */
    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’ );

    add_filter( ‘bp_get_signup_page’, “firmasite_redirect_bp_signup_page”);
    function firmasite_redirect_bp_signup_page($page ){
    return bp_get_root_domain() . ‘/wp-login.php?action=register’;
    }

    Version 4.1.0 BuddyPress
    Version 5.0.3 WordPress

    Home Default

Viewing 1 replies (of 1 total)

  • ppp12345
    Participant

    @ppp12345

    Hi there, I see you’ve been waiting 2 years for someone to notice here… hopefully someone will take their time soon… how did you go about resolving your issue, your code is not working for me?

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar