[ 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          "align": true,
  47          "html": false,
  48          "spacing": {
  49              "margin": true,
  50              "padding": true,
  51              "__experimentalDefaultControls": {
  52                  "margin": false,
  53                  "padding": false
  54              }
  55          },
  56          "typography": {
  57              "fontSize": true,
  58              "lineHeight": true,
  59              "__experimentalFontFamily": true,
  60              "__experimentalFontWeight": true,
  61              "__experimentalFontStyle": true,
  62              "__experimentalTextTransform": true,
  63              "__experimentalTextDecoration": true,
  64              "__experimentalLetterSpacing": true,
  65              "__experimentalDefaultControls": {
  66                  "fontSize": true
  67              }
  68          },
  69          "interactivity": {
  70              "clientNavigation": true
  71          },
  72          "__experimentalBorder": {
  73              "radius": true,
  74              "color": true,
  75              "width": true,
  76              "style": true,
  77              "__experimentalDefaultControls": {
  78                  "radius": true,
  79                  "color": true,
  80                  "width": true,
  81                  "style": true
  82              }
  83          }
  84      },
  85      "editorStyle": "wp-block-categories-editor",
  86      "style": "wp-block-categories"
  87  }


Generated : Sat Dec 21 08:20:01 2024 Cross-referenced by PHPXref