[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/term-count",
   5      "title": "Term Count",
   6      "category": "theme",
   7      "description": "Displays the post count of a taxonomy term.",
   8      "textdomain": "default",
   9      "usesContext": [ "termId", "taxonomy", "termData" ],
  10      "attributes": {
  11          "bracketType": {
  12              "type": "string",
  13              "enum": [ "none", "round", "square", "curly", "angle" ],
  14              "default": "round"
  15          }
  16      },
  17      "supports": {
  18          "anchor": true,
  19          "html": false,
  20          "background": {
  21              "backgroundImage": true,
  22              "backgroundSize": true,
  23              "gradient": true
  24          },
  25          "color": {
  26              "gradients": true,
  27              "__experimentalDefaultControls": {
  28                  "background": true,
  29                  "text": true
  30              }
  31          },
  32          "shadow": true,
  33          "spacing": {
  34              "margin": true,
  35              "padding": true
  36          },
  37          "dimensions": {
  38              "minHeight": true,
  39              "minWidth": true
  40          },
  41          "typography": {
  42              "fontSize": true,
  43              "lineHeight": true,
  44              "textAlign": true,
  45              "__experimentalFontFamily": true,
  46              "__experimentalFontWeight": true,
  47              "__experimentalFontStyle": true,
  48              "__experimentalTextTransform": true,
  49              "__experimentalTextDecoration": true,
  50              "__experimentalLetterSpacing": true,
  51              "__experimentalDefaultControls": {
  52                  "fontSize": true
  53              }
  54          },
  55          "interactivity": {
  56              "clientNavigation": true
  57          },
  58          "__experimentalBorder": {
  59              "radius": true,
  60              "color": true,
  61              "width": true,
  62              "style": true,
  63              "__experimentalDefaultControls": {
  64                  "color": true,
  65                  "width": true,
  66                  "style": true
  67              }
  68          }
  69      },
  70      "style": "wp-block-term-count"
  71  }


Generated : Sun Oct 25 08:20:35 2026 Cross-referenced by PHPXref