Wp post-type get (WP-CLI)
Naar navigatie springen
Naar zoeken springen
$ wp help post-type get NAME wp post-type get DESCRIPTION Gets details about a registered post type. SYNOPSIS wp post-type get <post-type> [--field=<field>] [--fields=<fields>] [--format=<format>] OPTIONS <post-type> Post type slug [--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. --- default: table options: - table - csv - json - yaml --- AVAILABLE FIELDS These fields will be displayed by default for the specified post type: * name * label * description * hierarchical * public * capability_type * labels * cap * supports These fields are optionally available: * count