WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

WP REST API - Post Type Taxonomies

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

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.

Requires: 4.4 or higher
Compatible up to: 4.4.8
Last Updated: 1 year ago
Active Installs: 80+

Ratings

5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.