Im trying to redirect the users (not admin) to the dashboard.php page after login. What I did: I\'ve copied the function below in my functions.php and the shortco