[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/post-date/ -> block.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/post-date",
   5      "title": "Date",
   6      "category": "theme",
   7      "description": "Display a custom date.",
   8      "textdomain": "default",
   9      "attributes": {
  10          "datetime": {
  11              "type": "string",
  12              "role": "content"
  13          },
  14          "format": {
  15              "type": "string"
  16          },
  17          "isLink": {
  18              "type": "boolean",
  19              "default": false,
  20              "role": "content"
  21          }
  22      },
  23      "usesContext": [ "postId", "postType", "queryId" ],
  24      "example": {
  25          "viewportWidth": 350
  26      },
  27      "supports": {
  28          "anchor": true,
  29          "html": false,
  30          "color": {
  31              "gradients": true,
  32              "link": true,
  33              "__experimentalDefaultControls": {
  34                  "background": true,
  35                  "text": true,
  36                  "link": true
  37              }
  38          },
  39          "spacing": {
  40              "margin": true,
  41              "padding": true
  42          },
  43          "typography": {
  44              "fontSize": true,
  45              "lineHeight": true,
  46              "textAlign": true,
  47              "__experimentalFontFamily": true,
  48              "__experimentalFontWeight": true,
  49              "__experimentalFontStyle": true,
  50              "__experimentalTextTransform": true,
  51              "__experimentalTextDecoration": true,
  52              "__experimentalLetterSpacing": true,
  53              "__experimentalDefaultControls": {
  54                  "fontSize": true
  55              }
  56          },
  57          "interactivity": {
  58              "clientNavigation": true
  59          },
  60          "__experimentalBorder": {
  61              "radius": true,
  62              "color": true,
  63              "width": true,
  64              "style": true,
  65              "__experimentalDefaultControls": {
  66                  "radius": true,
  67                  "color": true,
  68                  "width": true,
  69                  "style": true
  70              }
  71          }
  72      }
  73  }


Generated : Thu Jul 2 08:20:12 2026 Cross-referenced by PHPXref