Support » Plugin: WP Customer Area » Login and go straight to Customer page

  • Resolved amazemedia

    (@amazemedia)


    Awesome plugin. Can it be setup so when I customer logs in it loads his single page. Our customers will each have 1 unique page assigned to them and only them. We’d prefer to skip the dashboard and go straight to their page.

    We added this to functions.php but it didn’t appear to do anything:

    function cuar_change_default_customer_page( $redirect_to ) {
    // customer-private-files is the slug where we want the user to be redirected to
    return ‘customer-private-files’;
    }
    // customer-home is the slug of the redirect page we want to change
    add_filter( ‘cuar_root_page_redirect_slug-‘ . ‘customer-home’, ‘cuar_change_default_customer_page’ );

    https://wordpress.org/plugins/customer-area/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Login and go straight to Customer page’ is closed to new replies.