wp post get <id>
Gets details about a post
Arguments
Name | Description |
---|---|
id | The ID of the post to get |
Options
Name | Description |
---|---|
--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 |