Redirect to dashboard after login

The second input argument $request, in your app_login_redirect() callback function, takes it’s value from source:

isset( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : '';

so if I understand you correctly, you could just check if it’s empty or not, if you need to know that within your logic parts.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)