Get by taxonomy/category parent for WP REST API
v1.0.1M Media · 2021年1月26日 上架
Add the ability to get posts by the parent category in the WordPress REST API.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 2,579
- 最近更新
- 2021年3月11日
需要 WordPress 4.6+已测试到 5.7.22PHP 7.2+
贡献者
Add the ability to get posts by the parent category in the WordPress REST API.
Usage
You can use the new endpoint with: /wp-json/wp/v2/posts?parent_category=[XXX]
Features
- 100% free
- Get posts by the category they belong in (including parent, grandparent, etc categories)
Privacy policy
This plugin works locally. No data is sent to other servers, or stored anywhere.