开发者 | Andrew MAGIK |
---|---|
更新时间 | 2016年3月1日 16:14 |
PHP版本: | 4.4 及以上 |
WordPress版本: | 4.4.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
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.
/wp-content/plugins/
directory, or install the plugin through the WordPress plugins screen directly.You get get all relations between post types and attached terms using GET request:
http://yoursite.name/wp-json/wp/v2/post-type-taxonomies
This plugin is very useful when you need to create some filters and when you want to know what taxonomies are attached to the current post type.
Yes, I have. You can check them by tag: https://wordpress.org/plugins/tags/andrew-magik-rest-api.