title: Why WordPress login_redirect is not working?
body: <p>I'm trying to redirect users after login, but common solution with 'login_redirect' filter do not work at all, even with simple variant when trying to redirect to google.</p>
  
  <p>What I do:
  Add this to functions.php:</p>
  
  <pre><code>function login_redirect( $redirect_to, $request, $user ){
      return 'https://google.com';
  }
  add_filter( 'login_redirect', 'login_redirect', 10, 3 );
  </code></pre>
  
  <p>Try to login as a test "Subscriber" user, and get landed at "/wp-admin/profile.php" page after login.</p>
  
  <p>What I'm doing wrong? Please help.</p>
  
  <p>P.S.: All plugins was deactivated when I test this.</p>