Below are the basic steps that can be taken when your WordPress website is hacked
1. Install security plugins like WP security
2. Re-install the latest version of WordPress
3. Change password and user-ids for all your users
4. Check if all your themes and plug-ins are up-to-date
5. Uninstall all plugins that are downloaded from untrusted places
What do you do when your WordPress website is hacked?