[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/latest-comments",
   5      "title": "Latest Comments",
   6      "category": "widgets",
   7      "description": "Display a list of your most recent comments.",
   8      "keywords": [ "recent comments" ],
   9      "textdomain": "default",
  10      "attributes": {
  11          "commentsToShow": {
  12              "type": "number",
  13              "default": 5,
  14              "minimum": 1,
  15              "maximum": 100
  16          },
  17          "displayAvatar": {
  18              "type": "boolean",
  19              "default": true
  20          },
  21          "displayDate": {
  22              "type": "boolean",
  23              "default": true
  24          },
  25          "displayContent": {
  26              "type": "string",
  27              "default": "excerpt",
  28              "enum": [ "none", "excerpt", "full" ]
  29          }
  30      },
  31      "supports": {
  32          "anchor": true,
  33          "align": true,
  34          "background": {
  35              "backgroundImage": true,
  36              "backgroundSize": true,
  37              "gradient": true,
  38              "__experimentalDefaultControls": {
  39                  "backgroundImage": true,
  40                  "gradient": true
  41              }
  42          },
  43          "color": {
  44              "gradients": true,
  45              "link": true,
  46              "__experimentalDefaultControls": {
  47                  "background": true,
  48                  "text": true,
  49                  "link": true
  50              }
  51          },
  52          "dimensions": {
  53              "minHeight": true,
  54              "minWidth": true
  55          },
  56          "html": false,
  57          "spacing": {
  58              "margin": true,
  59              "padding": true
  60          },
  61          "__experimentalBorder": {
  62              "color": true,
  63              "radius": true,
  64              "style": true,
  65              "width": true
  66          },
  67          "shadow": true,
  68          "typography": {
  69              "fontSize": true,
  70              "lineHeight": true,
  71              "__experimentalFontFamily": true,
  72              "__experimentalFontWeight": true,
  73              "__experimentalFontStyle": true,
  74              "__experimentalTextTransform": true,
  75              "__experimentalTextDecoration": true,
  76              "__experimentalLetterSpacing": true,
  77              "__experimentalDefaultControls": {
  78                  "fontSize": true
  79              }
  80          },
  81          "interactivity": {
  82              "clientNavigation": true
  83          }
  84      },
  85      "style": "wp-block-latest-comments"
  86  }


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