Easy enough, decided to just do the redirect option. I used the wp_login
action hook. You could also probably use this for redirecting your users to ANY page on your website. You can also check user capabilities from the $user
Object passed in as a function parameter if you want to send different user levels to different pages.
/* Redirect the user logging in to a custom admin page. */
function new_dashboard_home($username, $user){
if(array_key_exists('administrator', $user->caps)){
wp_redirect(admin_url('admin.php?page=c2c-overview', 'http'), 301);
exit;
}
}
add_action('wp_login', 'new_dashboard_home', 10, 2);
Related Posts:
- 3.3: How do you hide the new dashboard welcome panel?
- Appearance->Editor not visible
- I keep getting logged out in Firefox
- How do I set the homepage to the WordPress Admin Dashboard login?
- Can’t access dashboard as administrator, login as any other level works though
- Unable to Access WP Admin or Login buttons after Migration
- Continuous Login Sessions For Super Admins Across Multi-Site Network of Sites
- Admin login not working
- Want to know who is login Admin/User
- Unable to render Admin Notices
- WordPress login not working
- What are the standard admin CSS id/class tags?
- Modal window from within WordPress admin
- How do I remove dashboard access from specific user roles?
- How To Remove WordPress Version From The Admin Footer
- Set Default Admin Colour For All Users
- Securing Admin Accounts – Username Discovery
- Can an admin check passwords of registered users?
- How-to make the admin area mobile friendly [closed]
- How to obtain the user ID of the current profile being edited in WP-Admin?
- Cannot access admin panel
- How can we customize the logo and some text on the welcome screen?
- Can I set a default dashboard layout for all users?
- Make sub menu items a main link in the admin menu using fuctions.php
- Daily notices of failed login attempts for non-existent admin user
- Possible to create placeholder images in WordPress editor that are clickable (should bring up uploader)?
- Admin pages have no content
- Blocking Administrative Access to Authors and Subcribers?
- How to find out if an wp-admin action edited a file?
- How to display only logged in user’s post comments in comments area
- How to Change the Title of a Meta Box on a Specified Custom Post Type? [duplicate]
- WordPress 3.8 get current admin color scheme
- How to Use Resposive Tables in WordPress ADMIN Pages?
- Setting Login with User Name and Password default option for Jetpack Admin Login
- How can I access profile Admin Colour Scheme
- Custom Dashboard Home Screen Options
- Which hook for processing plugin page form data?
- Add tabbed menu to admin page
- remove_action with profile_personal_options
- Getting the different post statuses + count like in edit.php, in a custom submenu page
- Cannot log into WordPress Dashboard after removing/adding .htaccess
- how to redirect to url.com/wp-admin if url.com/admin is typed in?
- How To Create User Specific Admin User Pages?
- Change the Default Pages Menu View in wp-admin
- Change WP-Login or WP-Admin
- Error thrown. Cannot create references to/from string offsets
- Conditionally load CSS/JS/PHP in wp-admin if using a mobile device
- How to disable automatic excerpt generation *in admin*?
- Limit Words in Category / Term Description – Admin Panel
- Change top level menu item to point to custom submenu item
- Cannot access wp-admin after disabling all plugin
- Associating custom submenu item with post type of top level menu item
- How to determine if an admin is logged in outside the loop
- How to solve 500 Error on WordPress Admin Dashboard due to time-out on getdirsize
- Adding text in more than one language (at the same time)
- How to get view count of every page on site and add that (increasing) number to Dashboard Widget
- wp-admin post.php JavaScript Links Not Working
- I want to disable login of admin (/wp-admin) with email and make it accessible only with username
- Unable to login, old site with previous developer gone
- Super slow admin panel
- Admin Taxonomy Terms – Orderby Term Field
- How do I add an admin notice within javascript in the admin interface for posts?
- Fatal error: Exception thrown without a stack frame in Unknown on line 0
- Hide Pages on Edit Pages based on Capability (edit_others_pages)?
- Using shared SSL for login/admin
- wp-login behind nginx reverse-proxy inaccessible — bad redirect?
- Dashboard menu missing
- WordPress Admin Login Redirect Problem
- Get post attached image to display in admin dashboard
- Add ‘Last Modified’ and Attachments (Yes/No) to WordPress Users Column
- Editors change a permalink on an unpublished post, but only admins change a permalink on a post that has ever been published?
- How Can I Found Admin Directory
- WordPress post feature image not uploading
- Combine and Minify wp-admin files, also re-write URI’s for CDN
- using rewrites to secure login page
- Modifying the built-in behavior of ajax tag type-ahead functionality of WordPress
- Client system for media review?
- 500 internal server error on wp-admin only
- WordPress administration Over SSL – To Force SSL Logins and SSL Admin Access
- Grabbing how Many Posts by Month for a Dashboard Widget
- Redirect from the dashboard to edit.php if wp_is_mobile() is true
- Keep Logged in Users out of Admin Panel
- Seems that admin_post_{action} does not executing
- Add Custom Script in Other Plugin’s Options page
- Unable to get to the admin panel
- When submitting the form site.com/blog/wp-admin it goes to site.com/wp-admin
- Can I host WP-admin locally for a remote blog?
- How can I open up my administrative panel to everyone?
- get_current_screen and the WP_Screen class
- I can’t access the login panel on my offline website
- Is there alternative to WP_List_Table?
- How to activate the dashboard
- WordPress Brute Force Prevention
- Adding and removing columns from the admin pages panel
- Admin top level menu, pointing to an external url
- Can’t login to my admin area
- Backend Checkboxes working – but not visual?
- Does deleting the table users prevent all logins?
- Dashboard : remove Safari navigator message
- Locked out of WordPress website from wrong amount of login attempts