[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/post-time-to-read/ -> block.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/post-time-to-read",
   5      "title": "Time to Read",
   6      "category": "theme",
   7      "description": "Show minutes required to finish reading the post. Can also show a word count.",
   8      "textdomain": "default",
   9      "usesContext": [ "postId", "postType" ],
  10      "attributes": {
  11          "displayAsRange": {
  12              "type": "boolean",
  13              "default": true
  14          },
  15          "displayMode": {
  16              "type": "string",
  17              "default": "time"
  18          },
  19          "averageReadingSpeed": {
  20              "type": "number",
  21              "default": 189
  22          }
  23      },
  24      "supports": {
  25          "anchor": true,
  26          "color": {
  27              "gradients": true,
  28              "__experimentalDefaultControls": {
  29                  "background": true,
  30                  "text": true
  31              }
  32          },
  33          "html": false,
  34          "spacing": {
  35              "margin": true,
  36              "padding": true,
  37              "__experimentalDefaultControls": {
  38                  "margin": false,
  39                  "padding": false
  40              }
  41          },
  42          "typography": {
  43              "fontSize": true,
  44              "lineHeight": true,
  45              "textAlign": true,
  46              "__experimentalFontFamily": true,
  47              "__experimentalFontWeight": true,
  48              "__experimentalFontStyle": true,
  49              "__experimentalTextTransform": true,
  50              "__experimentalTextDecoration": true,
  51              "__experimentalLetterSpacing": true,
  52              "__experimentalDefaultControls": {
  53                  "fontSize": true
  54              }
  55          },
  56          "interactivity": {
  57              "clientNavigation": true
  58          },
  59          "__experimentalBorder": {
  60              "radius": true,
  61              "color": true,
  62              "width": true,
  63              "style": true
  64          }
  65      }
  66  }


Generated : Tue Jul 7 08:20:13 2026 Cross-referenced by PHPXref