wp bp xprofile data get
Get profile data for a user.
OPTIONS OPTIONS
- –user-id=<user>
- Identifier for the user. Accepts either a user_login or a numeric ID.
- [–field-id=<field>]
- Identifier for the field. Accepts either the name of the field or a numeric ID.
- [–format=<format>]
- Render output in a particular format.
---
default: table
options:
– table
– json
– haml
---
- [–multi-format=<multi-format>]
- The format for array data.
---
default: array
options:
– array
– comma
---
EXAMPLES EXAMPLES
$ wp bp xprofile data get --user-id=45 --field-id=120
$ wp bp xprofile data see --user-id=user_test --field-id=Hometown --multi-format=comma