• Hi WebDevStudios team,
    I am using the PB registration plugin (version 4.4.2) and am running into a bug where if a user logins in (pre-approval), it redirects them to wp-admin..

    Is there a PHP line of code that can be changed to auto-direct them to the home page (which would be restricted until they are approved)?

    wp-admin is confusing for your average user of a member site..

    I wonder if its as easy as adding this PHP code to the BP Membership plugin:

    //Redirect after login
    function bb_admin_default_page() {
    return ‘YOUR URL HERE’;
    }
    add_filter(‘login_redirect’, ‘bb_admin_default_page’);

    please let me know
    thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘bug redirecting new users to wp-admin’ is closed to new replies.