XProfile_Data::get( $args,  $assoc_args )

Get profile data for a user.


Description Description

Top ↑

OPTIONS OPTIONS

–user-id= : Identifier for the user. Accepts either a user_login or a numeric ID.

[–field-id=] : Identifier for the field. Accepts either the name of the field or a numeric ID.

Top ↑

[–format=] : Render output in a particular format. [–format=] : Render output in a particular format.

default: table options:

Top ↑

[–multi-format=] : The format for the array data. [–multi-format=] : The format for the array data.

default: array options:

Top ↑

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

Source Source

File: cli/src/xprofile-data.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.