BuddyDev

Search

[Resolved] Redirect users after successful registration BuddyBoss

  • Participant
    Level: Enlightened
    Posts: 115
    Niculae Constantinescu on #46937

    Hi,
    I installed your code for redirection, in my BuddyBoss Theme and Platform Pro;

    add_action( ‘bp_complete_signup’, ‘buddydev_redirect_after_signup’ );

    function buddydev_redirect_after_signup() {

    $page = ‘welcome’;//your page slug

    bp_core_redirect( site_url( $page ) );
    }

    The code is from your page
    https://buddydev.com/redirect-users-to-welcome-page-after-successful-registration-on-your-buddypress-based-social-network/

    So far it is working fine, however I would like to ask you this;
    Do I need to make any other changes to the code, in order to not have conflicts and to be fully compatible with BuddyBoss ?

    Thank you
    Cristi

  • Keymaster
    (BuddyDev Team)
    Posts: 22216
    Brajesh Singh on #46938

    Hi Cristi,
    I don’t see problem or conflict with it. You don’t need to make any changes.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 115
    Niculae Constantinescu on #46951

    Hi,

    Thank you so much for your confirmation.

    Regards
    Cristi

  • Keymaster
    (BuddyDev Team)
    Posts: 22216
    Brajesh Singh on #46964

    You are welcome.

You must be logged in to reply to this topic.

This topic is: resolved