跳到内容

WP REST API – Post Type Taxonomies

v1.0

Andrew MAGIK · 2016年3月1日 上架

This plugin show all relations between existing post types and attached to them terms (taxonomies) in separate WordPress REST API (v2) endpoint.

正在使用
20+
评分
5.0 / 5
累计下载
2,374
最近更新
2016年3月1日
1 条评价需要 WordPress 4.4+已测试到 4.4.34

贡献者

This plugin will add separate WordPress REST API (v2) endpoint, with all relations between existing post types and attached to them terms (taxonomies).
It is very useful when you need to create some filters, when you want to know what taxonomies are attached to the current post type.

For example what can you get, using wp-json/wp/v2/post-type-taxonomies request (empty results not included):

{
    post: [
        "category",
        "post_tag",
        "post_format"
    ],
    portfolio: [
        "technologies",
        "clients",
        "work_types"
    ]
}

Check my other useful rest-api plugins: https://wordpress.org/plugins/tags/andrew-magik-rest-api.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums