Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Disabling BP Registration

  • Profile photo of dabesa
    dabesa
    Participant

    @dabesa

    Hi folks,
    I need to revert back the registration from BP to the WP original one.
    I tried what I saw in some old posts, adding in the bp-custom.php the following:

    `remove_action( ‘bp_init’, ‘bp_core_wpsignup_redirect’);`

    But it has no effect.
    I see in the file bp-members/bp-members-functions.php that the hook is registered with:

    `add_action( ‘bp_init’, ‘bp_core_wpsignup_redirect’ );`

    So I don’t understand why the remove_action is not working.

    Thanks!

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

    @sbrajesh

    do not add it to your bp-custom.php
    Add it to your theme’s functions.php for now, and It will work.

    Profile photo of dabesa
    dabesa
    Participant

    @dabesa

    Perfect!
    Many thanks!

    Profile photo of mrk79uk
    mrk79uk
    Participant

    @mrk79uk

    I am trying to do the same thing but not really getting anywhere as yet.

    I use a wordpress theme called Premiumpress which has its own built in registration. When BP is active it bypasses the premiumpress registration and sits at http://www.mysite.com/register (this is a blank page)

    I need it to direct to wp-login.php?action=register

    Would this command in the post above disable the BP direction and revert to this?

    I would be eternally grateful if anyone has any suggestion how I can keep BP enabled yet bypass the registration.

    Kind Regards
    Mark

    Profile photo of aces
    aces
    Participant

    @aces

    Profile photo of Hugo
    Hugo
    Moderator

    @hnla

    Closing.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Disabling BP Registration’ is closed to new replies.