WP Manifestindependent plugin directory
manifest / developer / fm-tax-to-json

FM Tax to JSON

Admin tool for downloading pretty-printed JSON exports of registered WordPress taxonomies.

by Future Media / https://futuremedia.gr · github.com/futuremedia/fm-tax-to-json

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/futuremedia/fm-tax-to-json/archive/refs/heads/main.zip

FM Tax to JSON is an admin-only WordPress plugin for exporting registered taxonomy terms as downloadable, pretty-printed JSON.

The plugin adds Settings > FM Tax to JSON in wp-admin. Administrators can choose any registered taxonomy, including custom and non-public taxonomies, then download the current term structure as a JSON file. Hierarchical taxonomies are exported as nested trees, while non-hierarchical taxonomies are exported as flat term lists.

Features

  • Admin-only taxonomy JSON exporter.
  • Clean React/TSX admin interface styled with Tailwind CSS 4.
  • Dropdown of all registered WordPress taxonomies.
  • Supports built-in, custom, public, private, hierarchical, and flat taxonomies.
  • Includes empty terms in exports.
  • Pretty-printed JSON output.
  • Direct download with success and error messages.
  • No export files are written to uploads or public storage.

Requirements

  • WordPress 6.0 or newer.
  • PHP 7.4 or newer.
  • Node.js and npm only for rebuilding the admin assets.

Installation

Upload the distribution zip through Plugins > Add New > Upload Plugin, or copy the fm-tax-to-json plugin folder into wp-content/plugins/.

Activate FM Tax to JSON, then open Settings > FM Tax to JSON.

Development

Create a distribution zip:

python3 build-plugin-zip.py

The zip is written to:

dist/fm-tax-to-json.zip

JSON Shape

Each export includes:

  • taxonomy
  • taxonomy_label
  • hierarchical
  • generated_at
  • terms

Each term includes:

  • id
  • slug
  • name
  • description
  • parent
  • count
  • children for hierarchical taxonomies

License

GPL-2.0-or-later. See LICENSE for details.