Messages::list_( $args, $assoc_args )
Get a list of messages for a specific user.
Contents
Description Description
OPTIONS OPTIONS
–user-id=
[–
[–fields=
[–count=] : How many messages to list. [–count=] : How many messages to list.
default: 10 default: 10
[–box=] : Box of the message. [–box=] : Box of the message.
default: sentbox options:
[–type=] : Type of the message. [–type=] : Type of the message.
default: all options:
[–format=] : Render output in a particular format. [–format=] : Render output in a particular format.
default: table options:
EXAMPLES EXAMPLES
$ wp bp message list --user-id=544 --format=count
10
$ wp bp message list --user-id=user_login --count=3 --format=ids
5454 45454 4545 465465
Source Source
File: cli/src/messages.php