wp bp message list

Get a list of messages for a specific user.

OPTIONS OPTIONS

–user-id=<user>
Identifier for the user. Accepts either a user_login or a numeric ID.
[–<field>=<value>]
One or more parameters to pass. See \BP_Messages_Box_Template()
[–fields=<fields>]
Fields to display.
[–count=<number>]
How many messages to list.
---
default: 10
---
[–format=<format>]
Render output in a particular format.
---
default: table

options:
– table
– ids
– count
– csv
– json
– haml
---

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