how to remove malware code from wordpress site

Steps to removing malware, spam, and other hacks from WordPress. #

  1. At first open WP directory and open wp-includes folder. Then you can remove 2 files from here.

2. Then you can open your current theme directory and open functions.php files. After that, remove malware code from this files.