wp bp email get-post

Get details for a post connected to an email type.

OPTIONS OPTIONS

<type>
The email type to fetch the post details for.
[–field=<field>]
Instead of returning the whole post, returns the value of a single field.
[–fields=<fields>]
Limit the output to specific fields. Defaults to all fields.
[–format=<format>]
Render output in a particular format.
---
default: table

options:
– table
– csv
– json
– yaml
---

Top ↑

EXAMPLE EXAMPLE

# Output the post ID for the 'activity-at-message' email type
$ wp bp email get-post activity-at-message --fields=ID