Email::get_post( $args,  $assoc_args )

Get details for a post connected to an email type.


Description Description

Top ↑

OPTIONS OPTIONS

: The email type to fetch the post details for.
[–field=] : Instead of returning the whole post, returns the value of a single field.
[–fields=] : Limit the output to specific fields.
[–format=] : Render output in a particular format. — default: table options: – table – csv – json – yaml —
## EXAMPLE
# Output the post ID for the ‘activity-at-message’ email type $ wp bp email get-post activity-at-message –fields=ID


Source Source

File: cli/src/email.php


			

Top ↑

User Contributed Notes User Contributed Notes

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