Messages::list_( $args,  $assoc_args )

Get a list of messages for a specific user.


Description Description

Top ↑

OPTIONS OPTIONS

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

[–=] : One or more parameters to pass. See \BP_Messages_Box_Template()

[–fields=] : Fields to display.

Top ↑

[–count=] : How many messages to list. [–count=] : How many messages to list.

Top ↑

default: 10 default: 10

Top ↑

[–box=] : Box of the message. [–box=] : Box of the message.

default: sentbox options:

Top ↑

[–type=] : Type of the message. [–type=] : Type of the message.

default: all options:

Top ↑

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

default: table options:

Top ↑

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


			

Top ↑

User Contributed Notes User Contributed Notes

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