[ 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          "displayExcerpt": {
  26              "type": "boolean",
  27              "default": true
  28          }
  29      },
  30      "supports": {
  31          "align": true,
  32          "color": {
  33              "gradients": true,
  34              "link": true,
  35              "__experimentalDefaultControls": {
  36                  "background": true,
  37                  "text": true,
  38                  "link": true
  39              }
  40          },
  41          "html": false,
  42          "spacing": {
  43              "margin": true,
  44              "padding": true
  45          },
  46          "typography": {
  47              "fontSize": true,
  48              "lineHeight": true,
  49              "__experimentalFontFamily": true,
  50              "__experimentalFontWeight": true,
  51              "__experimentalFontStyle": true,
  52              "__experimentalTextTransform": true,
  53              "__experimentalTextDecoration": true,
  54              "__experimentalLetterSpacing": true,
  55              "__experimentalDefaultControls": {
  56                  "fontSize": true
  57              }
  58          },
  59          "interactivity": {
  60              "clientNavigation": true
  61          }
  62      },
  63      "editorStyle": "wp-block-latest-comments-editor",
  64      "style": "wp-block-latest-comments"
  65  }


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref