title: wp_user_create - Setting a role - Wordpress
body: <p>In this custom plugin I'm developing I use the function wp_user_create(); to add a user.
  I want to set a specified role because now they are all being added as 'subscribers'.
  Is it possible to afterwards set the newly created users user role to e.g. 'editor' or 'author' or any custom made role?</p>
  
  <p>Thank you in advance.</p>