title: Woo Commerce Login Redirect Based off of User Roles
body: <p>Im looking for a way to redirect my wholesale users. </p>
  
  <p>The way I have my woo-commerce setup for wholesale is to assign users to wholesale based off of the wordpress users role that i named "wholesale". </p>
  
  <p>I would like to retain the redirect of the regular users without change but add a way to send that wholesale role to another costume page.</p>
  
  <p>Iv used Peters Login Redirect and WordPress Login Redirect neither plugin worked even though it has the functionality - The result after the proper settings are entered for the custom page is the default woo commerce my account page.</p>
  
  <p>Is there a way of doing that via functions.php ? </p>