title: Wordpress: Change user role conditionally
body: <p>I am creating a Wordpress website for multi author and want to set user role as per article submission. Means if any user have 0-10 article they will go to Contributor role, if 11-30 will go to Author role if 31-100 will go to Editor role.</p>
  
  <p>Also I want to make registration system where default registration group will be Subscriber. They will get a link into verification email like</p>
  
  <p>If you want to become a Contributor please click on below link. (To submit an article you must have at least Contributor permission)
  http:// link will be here ... this link automatically change user role from Subscriber to Contributor.</p>
  
  <p>Hope I will get solution from you expert. I am posting this issue with lots of hope from you friends.</p>