Search
  • Software by
  • Christoph Amthor
Search Menu

Tag Groups REST API

(Note: The endpoints for the WordPress REST API are still under development.)

Groups

Returns all groups or one group with its ID, label, position and terms.

Routes

/wp-json/tag-groups/v1/groups/

/wp-json/tag-groups/v1/groups/{id}

Methods

GET (read-only)

Arguments

taxonomy (for the terms), default: all that are selected for tag groups

hide_empty (for the terms), default: false

fields (for the terms), default: ids

orderby, default: name

order, default: ASC

 

Terms (Tags)

Returns all terms or one term with its ID, label, position and terms.

Routes

/wp-json/tag-groups/v1/terms/

/wp-json/tag-groups/v1/terms/{id}

Methods

GET (read-only)

Arguments

taxonomy, default: all that are selected for tag groups

hide_empty, default: false

fields, default: ids

group: group id to restrict terms to those belonging to a certain group

orderby, default: name

order, default: ASC

 

Share