Wp wc product cat create

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen

Maak een nieuwe taxon aan in de product_cat-taxonomie:

$ wp help wc product_cat create

NAME

  wp wc product_cat create

DESCRIPTION

  Create a new item.

SYNOPSIS

  wp wc product_cat create --name=<name> [--slug=<slug>] [--parent=<parent>] [--description=<description>]
  [--display=<display>] [--image=<image>] [--menu_order=<menu_order>] [--porcelain]

OPTIONS

  --name=<name>
    Name for the resource.

  [--slug=<slug>]
    An alphanumeric identifier for the resource unique to its type.

  [--parent=<parent>]
    The ID for the parent of the resource.

  [--description=<description>]
    HTML description of the resource.

  [--display=<display>]
    Category archive display type.

  [--image=<image>]
    Image data.

  [--menu_order=<menu_order>]
    Menu order, used to custom sort the resource.

  [--porcelain]
    Output just the id when the operation is successful.