Unverified Commit 5f7427db authored by Peter J. Herrel's avatar Peter J. Herrel
Browse files

readme for 'wp pll term duplicate'

parent 84803224
......@@ -1388,6 +1388,32 @@ wp pll term get <taxonomy> <term-id> [--field=<field>] [--fields=<fields>] [--fo
### wp pll term duplicate
Duplicate a taxonomy term to one or more languages.
~~~
wp pll term duplicate <taxonomy> <term-id> [<language-code>]
~~~
**OPTIONS**
<taxonomy>
Taxonomy of the term to duplicate
<term-id>
ID of the term to duplicate
[<language-code>]
Language code (slug), or comma-separated list of language codes, to duplicate the term to. Omit to duplicate to all languages. Optional.
**EXAMPLES**
# Duplicate term 18 of the category taxonomy to all other languages.
$ wp pll term duplicate category 18
### wp pll term delete
Delete an existing taxonomy term and its translations.
......
......@@ -77,6 +77,7 @@
"pll taxonomy list",
"pll term",
"pll term get",
"pll term duplicate",
"pll term delete",
"pll term list",
"pll term generate"
......
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"content-hash": "fbae85af3479e4a030ef3864025b94be",
"content-hash": "7b3ab1889747de5d4a03979f524b653f",
"packages": [
{
"name": "composer/ca-bundle",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment