How to Restrict WordPress Site Access by IP or Logged In Users

http://www.wpbeginner.com/plugins/how-to-restrict-wordpress-site-access-by-ip-or-logged-in-users