wp bp notification list
Get a list of notifications.
OPTIONS OPTIONS
- [–<field>=<value>]
- One or more parameters to pass.
- [–fields=<fields>]
- Fields to display.
- [–user-id=<user>]
- Limit results to a specific member. Accepts either a user_login or a numeric ID.
- [–component=<component>]
- The component to fetch notifications (groups, activity, etc).
- [–action=<action>]
- Name of the action to fetch notifications. (comment_reply, update_reply, etc).
- [–count=<number>]
- How many notification items to list.
---
default: 50
--- - [–format=<format>]
- Render output in a particular format.
---
default: table
options:
– table
– ids
– csv
– count
– haml
---
EXAMPLES EXAMPLES
$ wp bp notification list --format=ids
15 25 34 37 198
$ wp bp notification list --format=count
10
$ wp bp notification list --fields=id,user_id
| id | user_id |
| 66546 | 656 |
| 54554 | 646546 |