[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/site-logo/ -> block.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/site-logo",
   5      "title": "Site Logo",
   6      "category": "theme",
   7      "description": "Display an image to represent this site. Update this block and the changes apply everywhere.",
   8      "textdomain": "default",
   9      "attributes": {
  10          "width": {
  11              "type": "number"
  12          },
  13          "isLink": {
  14              "type": "boolean",
  15              "default": true,
  16              "role": "content"
  17          },
  18          "linkTarget": {
  19              "type": "string",
  20              "default": "_self",
  21              "role": "content"
  22          },
  23          "shouldSyncIcon": {
  24              "type": "boolean"
  25          }
  26      },
  27      "example": {
  28          "viewportWidth": 500,
  29          "attributes": {
  30              "width": 350,
  31              "className": "block-editor-block-types-list__site-logo-example"
  32          }
  33      },
  34      "supports": {
  35          "anchor": true,
  36          "html": false,
  37          "align": true,
  38          "alignWide": false,
  39          "color": {
  40              "text": false,
  41              "background": false
  42          },
  43          "spacing": {
  44              "margin": true,
  45              "padding": true,
  46              "__experimentalDefaultControls": {
  47                  "margin": false,
  48                  "padding": false
  49              }
  50          },
  51          "interactivity": {
  52              "clientNavigation": true
  53          },
  54          "filter": {
  55              "duotone": true
  56          }
  57      },
  58      "styles": [
  59          {
  60              "name": "default",
  61              "label": "Default",
  62              "isDefault": true
  63          },
  64          { "name": "rounded", "label": "Rounded" }
  65      ],
  66      "selectors": {
  67          "filter": {
  68              "duotone": ".wp-block-site-logo img, .wp-block-site-logo .components-placeholder__illustration, .wp-block-site-logo .components-placeholder::before"
  69          }
  70      },
  71      "editorStyle": "wp-block-site-logo-editor",
  72      "style": "wp-block-site-logo"
  73  }


Generated : Sun Jul 5 08:20:13 2026 Cross-referenced by PHPXref