[ 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          "html": false,
  33          "spacing": {
  34              "margin": true,
  35              "padding": true
  36          },
  37          "typography": {
  38              "fontSize": true,
  39              "lineHeight": true,
  40              "__experimentalFontFamily": true,
  41              "__experimentalFontWeight": true,
  42              "__experimentalFontStyle": true,
  43              "__experimentalTextTransform": true,
  44              "__experimentalTextDecoration": true,
  45              "__experimentalLetterSpacing": true,
  46              "__experimentalDefaultControls": {
  47                  "fontSize": true
  48              }
  49          },
  50          "interactivity": {
  51              "clientNavigation": true
  52          }
  53      },
  54      "editorStyle": "wp-block-latest-comments-editor",
  55      "style": "wp-block-latest-comments"
  56  }


Generated : Fri May 3 08:20:01 2024 Cross-referenced by PHPXref