WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Andrew MAGIK v1.0

WP REST API

This plugin include all available taxonomy attributes into the WordPress REST API (v2) without additional API requests.

WP REST API

The facts

Rating
5★ from 5
Active installs
400+
Price
Free
Last updated
1 Mar 2016
Added
Feb 2016
Requires WP
4.4
Tested up to
WP 4.4.34
Downloads
11,813

Our analysis

AI-assisted

WP REST API – Pure Taxonomies is a WordPress plugin that enhances the default JSON response of the REST API by including detailed taxonomy information. With this plugin, you can access all available taxonomy data, such as term ID, name, slug, and more, in a new 'pure_taxonomies' field. This is useful for developers working with custom taxonomies and post types who need comprehensive taxonomy details without making additional requests.

The plugin is suitable for those who are familiar with the WordPress REST API and want to streamline their data retrieval processes. It simplifies access to taxonomy information, making it easier to work with categories, tags, and custom taxonomies in applications that utilise the REST API.

Best for: Developers working with the WordPress REST API who need detailed taxonomy information.

What it does well

  • Provides detailed taxonomy data in the JSON response
  • Works with custom taxonomies and post types
  • Eliminates the need for additional requests for taxonomy info

Where it falls short

  • Last updated in March 2016, may not be compatible with newer WordPress versions
  • Limited information on support and ongoing maintenance

Verdict

This plugin offers a straightforward solution for accessing taxonomy data through the REST API, but its age may raise concerns about compatibility and support.

From the developer

Andrew MAGIK's own description of WP REST API, lightly tidied.

Now you have no need to make additional requests to get taxonomy info (term_id, name, slug, term_group, term_taxonomy_id, taxonomy, description, parent, count, filter) from their id that is available in the default json response.

Now all available taxonomy data is available in ‘pure_taxonomies’ field from your json response. It works for all custom added taxonomies, and for custom post types.

For example in ‘wp-json/wp/v2/posts’ you can find default fields ‘categories’, ‘tags’ and name of custom added taxonomies that contain only its id. With this plugin you can also find new ‘pure_taxonomies’ field that include all available ‘categories’, ‘tags’ and custom taxonomies data.

Before:
{

categories: [
3
],
tags: [
2
],
custom_taxonomy_name: [
1
]

}

After:
{

pure_taxonomies: {
categories: [
{
term_id: 3,
name: “First category”,
slug: “first-category”,
term_group: 0,
term_taxonomy_id: 3,
taxonomy: “category”,
description: “”,
parent: 0,
count: 3,
filter: “raw”,
cat_ID: 3,
category_count: 3,
category_description: “”,
cat_name: “First category”,
category_nicename: “first-category”,
category_parent: 0
}
],
tags: [
{
term_id: 2,
name: “First tag”,
slug: “first-tag”,
term_group: 0,
term_taxonomy_id: 2,
taxonomy: “post_tag”,
description: “”,
parent: 0,
count: 2,
filter: “raw”
}
],
custom_taxonomy_name: [
{
term_id: 1,
name: “Custom Taxonomy Name”,
slug: “custom-taxonomy-name”,
term_group: 0,
term_taxonomy_id: 1,
taxonomy: “custom_taxonomy_name”,
description: “”,
parent: 0,
count: 1,
filter: “raw”
}
]
}

}

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

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for integrating services.

LocoAI

LocoAI

89

LocoAI - Auto Translate For Loco Translate is a powerful tool for developers looking to quickly translate thei...

Free 70k+ installs 4.9★ (637)
Uncanny Automator

The AI + Automation plugin for WordPress. Automate workflows across all your plugins and apps, add an AI agent...

Free 40k+ installs 4.9★ (156)
Open User Map

Create custom interactive maps with free Leaflet-based styles, no Google Maps API key, frontend marker submiss...

Free 10k+ installs 5★ (67)
Activity Log

Monitor every change on your WordPress site — who did what, when, and where it came from — for a complete audi...

Free 200k+ installs 4.3★ (74)
Reviews Feed

No API key required. Display Yelp and Google reviews for any business in a clean, customizable feed on your si...

Free 100k+ installs 4.4★ (34)
Bit integrations

Contact Form, Google Sheet, MailChimp, Brevo, Webhook, Zoho CRM Automation and Integration plugin that Connect...

Free 20k+ installs 4.9★ (160)