WordPress · JSON Structure

Wordpress Plugin Structure

A WordPress plugin object

Type: object Properties: 8
CMSContent ManagementOpen SourceWordPress

Plugin is a JSON Structure definition published by WordPress, describing 8 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

plugin status name plugin_uri author author_uri description version

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wordpress/refs/heads/main/json-structure/wordpress-plugin-structure.json",
  "name": "Plugin",
  "description": "A WordPress plugin object",
  "type": "object",
  "properties": {
    "plugin": {
      "type": "string",
      "description": "The plugin file, relative to the plugins directory",
      "example": "akismet/akismet"
    },
    "status": {
      "type": "string",
      "description": "The plugin activation status",
      "enum": [
        "active",
        "inactive"
      ],
      "example": "active"
    },
    "name": {
      "type": "string",
      "description": "The plugin name",
      "example": "Akismet Anti-Spam"
    },
    "plugin_uri": {
      "type": "string",
      "description": "The plugin's website address",
      "example": "https://akismet.com/"
    },
    "author": {
      "type": "string",
      "description": "The plugin author's name",
      "example": "Automattic"
    },
    "author_uri": {
      "type": "string",
      "description": "Profile page for the plugin author",
      "example": "https://automattic.com/"
    },
    "description": {
      "type": "object",
      "description": "The plugin description",
      "properties": {
        "raw": {
          "type": "string",
          "example": "Used by millions, Akismet is quite possibly the best way in the world to protect your blog from spam."
        },
        "rendered": {
          "type": "string",
          "example": "Used by millions, Akismet is quite possibly the best way in the world to protect your blog from spam."
        }
      }
    },
    "version": {
      "type": "string",
      "description": "The plugin version number",
      "example": "5.3.4"
    }
  }
}