[ 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          "background": {
  49              "backgroundImage": true,
  50              "backgroundSize": true,
  51              "gradient": true,
  52              "__experimentalDefaultControls": {
  53                  "backgroundImage": true,
  54                  "gradient": true
  55              }
  56          },
  57          "html": false,
  58          "spacing": {
  59              "margin": true,
  60              "padding": true,
  61              "__experimentalDefaultControls": {
  62                  "margin": false,
  63                  "padding": false
  64              }
  65          },
  66          "typography": {
  67              "fontSize": true,
  68              "lineHeight": true,
  69              "textColumns": true,
  70              "__experimentalFontFamily": true,
  71              "__experimentalFontWeight": true,
  72              "__experimentalFontStyle": true,
  73              "__experimentalTextTransform": true,
  74              "__experimentalTextDecoration": true,
  75              "__experimentalLetterSpacing": true,
  76              "__experimentalDefaultControls": {
  77                  "fontSize": true
  78              }
  79          },
  80          "color": {
  81              "gradients": true,
  82              "link": true,
  83              "__experimentalDefaultControls": {
  84                  "background": true,
  85                  "text": true,
  86                  "link": true
  87              }
  88          },
  89          "interactivity": {
  90              "clientNavigation": true
  91          },
  92          "__experimentalBorder": {
  93              "radius": true,
  94              "color": true,
  95              "width": true,
  96              "style": true,
  97              "__experimentalDefaultControls": {
  98                  "radius": true,
  99                  "color": true,
 100                  "width": true,
 101                  "style": true
 102              }
 103          },
 104          "shadow": true
 105      },
 106      "editorStyle": "wp-block-categories-editor",
 107      "style": "wp-block-categories"
 108  }


Generated : Thu Oct 15 08:20:32 2026 Cross-referenced by PHPXref