[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/categories/ -> block.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/categories",
   5      "title": "Terms List",
   6      "category": "widgets",
   7      "description": "Display a list of all terms of a given taxonomy.",
   8      "keywords": [ "categories" ],
   9      "textdomain": "default",
  10      "attributes": {
  11          "taxonomy": {
  12              "type": "string",
  13              "default": "category"
  14          },
  15          "displayAsDropdown": {
  16              "type": "boolean",
  17              "default": false
  18          },
  19          "showHierarchy": {
  20              "type": "boolean",
  21              "default": false
  22          },
  23          "showPostCounts": {
  24              "type": "boolean",
  25              "default": false
  26          },
  27          "showOnlyTopLevel": {
  28              "type": "boolean",
  29              "default": false
  30          },
  31          "showEmpty": {
  32              "type": "boolean",
  33              "default": false
  34          },
  35          "label": {
  36              "type": "string",
  37              "role": "content"
  38          },
  39          "showLabel": {
  40              "type": "boolean",
  41              "default": true
  42          }
  43      },
  44      "usesContext": [ "enhancedPagination" ],
  45      "supports": {
  46          "anchor": true,
  47          "align": true,
  48          "html": false,
  49          "spacing": {
  50              "margin": true,
  51              "padding": true,
  52              "__experimentalDefaultControls": {
  53                  "margin": false,
  54                  "padding": false
  55              }
  56          },
  57          "typography": {
  58              "fontSize": true,
  59              "lineHeight": true,
  60              "__experimentalFontFamily": true,
  61              "__experimentalFontWeight": true,
  62              "__experimentalFontStyle": true,
  63              "__experimentalTextTransform": true,
  64              "__experimentalTextDecoration": true,
  65              "__experimentalLetterSpacing": true,
  66              "__experimentalDefaultControls": {
  67                  "fontSize": true
  68              }
  69          },
  70          "color": {
  71              "gradients": true,
  72              "link": true,
  73              "__experimentalDefaultControls": {
  74                  "background": true,
  75                  "text": true,
  76                  "link": true
  77              }
  78          },
  79          "interactivity": {
  80              "clientNavigation": true
  81          },
  82          "__experimentalBorder": {
  83              "radius": true,
  84              "color": true,
  85              "width": true,
  86              "style": true,
  87              "__experimentalDefaultControls": {
  88                  "radius": true,
  89                  "color": true,
  90                  "width": true,
  91                  "style": true
  92              }
  93          }
  94      },
  95      "editorStyle": "wp-block-categories-editor",
  96      "style": "wp-block-categories"
  97  }


Generated : Mon Jun 15 08:20:09 2026 Cross-referenced by PHPXref