Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 450 Bytes

File metadata and controls

20 lines (11 loc) · 450 Bytes

wp views template assign

Assign the CT to resource, CPT single, CPT archive, or taxonomies.

OPTIONS

<id> : The ID for the content template that will be duplicated.

[--assignment_group=<string>] : The usage group type. Can take values: singles, archives, taxonomy.

[--assignment_slug=<string>] : CPT or taxonomy slug.

EXAMPLES

wp views template assign 1 --assignment_slug="cest" --assignment_group="archives"