Redirect users to their notifications after login
-
Hello,
I want to redirect users to their unread notifications page after they sign in. How can we achieve this?
The link is: http://www.DOMAINNAME.com/members/USERNAME/notifications/I use this code to redirect to homepage but I prefer the notifications.
function admin_default_page() { return '/home'; } add_filter('login_redirect', 'admin_default_page');
Thanks!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Redirect users to their notifications after login’ is closed to new replies.