7.2.List allowed IPs

7.2.List allowed IPs

Lists all entries in the Administrator Exclusive Allow List.

wp admintools ipallow list [--format=<format>] [--ip=<ip>] [--limit=<limit>]

--format=<format>

The output format. Accepted values: table (default), json, csv, yaml, count.

--ip=<ip>

Filter results by IP address (partial match).

--limit=<limit>

Maximum number of results to return. Shows all entries by default.

Examples

List all allowed IPs:

wp admintools ipallow list

Filter by IP and output as JSON:

wp admintools ipallow list --ip=192.168 --format=json

Sample output

+----+----------------+----------------+| id | ip             | description    |+----+----------------+----------------+| 1  | 192.168.1.100  | My IP          || 2  | 10.0.0.0/24    | Office network |+----+----------------+----------------+