Skip to:
Content
Pages
Categories
Search
Top
Bottom

Registration redirection


  • nicow65
    Participant

    @nicow65

    Hi,

    I don’t want my users getting redirect to admin dashboard when they sign up..

    I used this :
    function bp_redirect($user) {
    $redirect_url = get_home_url().’/fil-dactualite’;
    wp_redirect($redirect_url);
    }

    add_action(‘bp_core_signup_user’, ‘bp_redirect’, 100, 1);

    AND this :
    function wpse_19692_registration_redirect() {
    wp_redirect( ‘/groupes’ );
    }

    add_filter( ‘registration_redirect’, ‘wpse_19692_registration_redirect’ );

    ntohing is working, what’s up ? Can you help me ?

  • You must be logged in to reply to this topic.
Skip to toolbar