title: wordpress: pie register overriding login redirect
body: <p>I downloaded and activated pie register. </p>
  
  <p>Since doing that my redirect has changed.</p>
  
  <p>I have the following function in my functions.php:</p>
  
  <pre><code>function redirect_to_front_page($redirect_to, $request, $user) {
      return (is_array($user-&gt;roles) &amp;&amp; in_array('administrator', $user-&gt;roles)) ? site_url() : site_url();
  } 
  add_filter('login_redirect', 'redirect_to_front_page', 10, 3);
  </code></pre>
  
  <p>However, I think that pie register might be overriding it somehow and redirecting me to the dashboard  instead.</p>
  
  <p>Does anyone know how I might be able to stop this pie-register redirect after login override?</p>
  
  <p>Thanks in advance,</p>