Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Disabling BP Registration

  • @dabesa

    Participant

    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)
  • @sbrajesh

    Participant

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

    @dabesa

    Participant

    Perfect!
    Many thanks!

    @mrk79uk

    Participant

    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

    @aces

    Participant

    @hnla

    Participant

    Closing.

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