Added Terms controller to fetch terms by taxonomy or post
-
Hi,
I ran into a project where I needed to be able to access terms from custom taxonomies on the client side so I forked JSON API on github and added a Terms controller with support for: get_terms(), get_term() and get_the_terms()
I also added support for term images on custom taxonomies if the Taxonomy Images plugin is installed and activated.
Full change notes are available in readme.md from:
https://github.com/Einkoro/wp-json-apiThe terms controller’s source is here:
https://github.com/Einkoro/wp-json-api/blob/master/controllers/terms.php
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Added Terms controller to fetch terms by taxonomy or post’ is closed to new replies.