A description for the new term.
+* `--parent`=<parent>:
+
+ A parent for the new term.
+
## EXAMPLES
wp term create Apple category --description="A type of fruit"
\ No newline at end of file
/**
* Create a term.
*
- * @synopsis <term> <taxonomy> [--slug=<slug>] [--description=<description>]
+ * @synopsis <term> <taxonomy> [--slug=<slug>] [--description=<description>] [--parent=<parent>]
*/
public function create( $args, $assoc_args ) {
$defaults = array(
'slug' => sanitize_title( $term ),
'description' => '',
+ 'parent' => '',
);
$assoc_args = wp_parse_args( $assoc_args, $defaults );