Skip to:
Content
Pages
Categories
Search
Top
Bottom

Stop Registration Redirect

  • Avatar 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)
  • Avatar 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)

You must be logged in to reply to this topic.