13.Unblock IP

13.Unblock IP

The wp admintools unblock command is a convenience command that removes an IP address from all Admin Tools block lists in one operation: the Automatically Blocked IP Addresses, the Auto-ban History, the Blocked Requests Log, and exact matches in the IP Disallow List.

After unblocking, the command checks for potential issues and displays warnings when:

  • The IP Disallow List contains CIDR or range entries that still cover the IP address (these are not removed automatically).

  • The Administrator Exclusive Allow List is enabled and the IP address is not in it (the IP will still be blocked from accessing the administrator area).

wp admintools unblock <ip>...
ip

One or more IP addresses to unblock (required). Separate multiple addresses with spaces.

Examples

Unblock a single IP address:

wp admintools unblock 192.168.1.100

Unblock multiple IP addresses:

wp admintools unblock 192.168.1.100 10.0.0.1

Sample output

Success: IP address(es) 192.168.1.100 unblocked from auto-ban, history, log, and disallow list.Warning: IP 192.168.1.100 is still covered by Disallow List entry #5 (192.168.1.0/24). Remove it manually with: wp admintools ipdisallow remove 5Warning: The Administrator Exclusive Allow List is enabled and IP 192.168.1.100 is not in it. Admin access will still be blocked. Add it with: wp admintools ipallow add 192.168.1.100