7.3.Modify an entry

7.3.Modify an entry

Modifies an existing entry in the Administrator Exclusive Allow List. You can update the IP address, the description, or both.

wp admintools ipallow modify <id> [--ip=<ip>] [--description=<description>]

<id>

The numeric ID of the entry to modify.

--ip=<ip>

The new IP address, range, or CIDR notation.

--description=<description>

The new description for this entry.

Examples

Change the IP address of entry #1:

wp admintools ipallow modify 1 --ip=10.0.0.1

Update both IP and description:

wp admintools ipallow modify 1 --ip=10.0.0.1 --description="New IP"

Sample output

Success: Allow List entry #1 updated.