Class Papi_CLI_Term_Command
-
WP_CLI_Command
-
Papi_CLI_Command
-
Papi_CLI_Term_Command
Methods summary
protected
array
|
|
public
|
#
get( array $args, array $assoc_args )
Get fields that exists on a term.
Get fields that exists on a term.
OPTIONS
- Term ID
- [--field=]
- Instead of returning the whole term fields, returns the value of a single fields.
- [--fields=]
- Get a specific subset of the term's fields.
- [--format=]
- Accepted values: table, json, csv. Default: table.
AVAILABLE FIELDS
These fields are available for get command:
EXAMPLES
wp papi term get 123 --format=json
wp papi term get 123 --field=slug
Parameters
|