Restrict Wordpress Admin/Login/Access by IP Address (Example for Localhost):
Add following code into .htaccess file
<Files wp-login.php> Order Deny,Allow Deny from all Allow from 127.0.0.1 </Files>