wp post-type get <post-type>
Gets details about a registered post type
Arguments
| Name | Description |
|---|---|
post-type | Post type slug |
Options
| Name | Description |
|---|---|
--field <field> | Instead of returning the whole taxonomy, 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 |