[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/navigation-link/ -> block.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/navigation-link",
   5      "title": "Custom Link",
   6      "category": "design",
   7      "parent": [ "core/navigation" ],
   8      "allowedBlocks": [
   9          "core/navigation-link",
  10          "core/navigation-submenu",
  11          "core/page-list"
  12      ],
  13      "description": "Add a page, link, or another item to your navigation.",
  14      "textdomain": "default",
  15      "attributes": {
  16          "label": {
  17              "type": "string",
  18              "role": "content"
  19          },
  20          "type": {
  21              "type": "string"
  22          },
  23          "description": {
  24              "type": "string"
  25          },
  26          "rel": {
  27              "type": "string"
  28          },
  29          "id": {
  30              "type": "number"
  31          },
  32          "opensInNewTab": {
  33              "type": "boolean",
  34              "default": false
  35          },
  36          "url": {
  37              "type": "string",
  38              "role": "content"
  39          },
  40          "title": {
  41              "type": "string"
  42          },
  43          "kind": {
  44              "type": "string"
  45          },
  46          "isTopLevelLink": {
  47              "type": "boolean"
  48          }
  49      },
  50      "usesContext": [
  51          "textColor",
  52          "customTextColor",
  53          "backgroundColor",
  54          "customBackgroundColor",
  55          "overlayTextColor",
  56          "customOverlayTextColor",
  57          "overlayBackgroundColor",
  58          "customOverlayBackgroundColor",
  59          "fontSize",
  60          "customFontSize",
  61          "showSubmenuIcon",
  62          "maxNestingLevel",
  63          "style"
  64      ],
  65      "supports": {
  66          "reusable": false,
  67          "html": false,
  68          "__experimentalSlashInserter": true,
  69          "typography": {
  70              "fontSize": true,
  71              "lineHeight": true,
  72              "__experimentalFontFamily": true,
  73              "__experimentalFontWeight": true,
  74              "__experimentalFontStyle": true,
  75              "__experimentalTextTransform": true,
  76              "__experimentalTextDecoration": true,
  77              "__experimentalLetterSpacing": true,
  78              "__experimentalDefaultControls": {
  79                  "fontSize": true
  80              }
  81          },
  82          "renaming": false,
  83          "interactivity": {
  84              "clientNavigation": true
  85          }
  86      },
  87      "editorStyle": "wp-block-navigation-link-editor",
  88      "style": "wp-block-navigation-link"
  89  }


Generated : Wed May 6 08:20:15 2026 Cross-referenced by PHPXref