How to rename user roles (Employer, Candidate)?

To rename user role, for example Employer, go to Appearance > Editor, you will see a style.css edit area (make sure you are using a child theme). On the right side switch to edit the child theme functions.php file, add this code: