wp user get <user>
Gets details about a user
Arguments
Name | Description |
---|---|
user | User ID, user email, or user login |
Options
Name | Description |
---|---|
--field <field> | Instead of returning the whole user, returns the value of a single field |
--fields <fields> | Get a specific subset of the user’s fields |
--format <format> | Render output in a particular format |