[ 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          "anchor": true,
  67          "reusable": false,
  68          "html": false,
  69          "__experimentalSlashInserter": true,
  70          "typography": {
  71              "fontSize": true,
  72              "lineHeight": true,
  73              "__experimentalFontFamily": true,
  74              "__experimentalFontWeight": true,
  75              "__experimentalFontStyle": true,
  76              "__experimentalTextTransform": true,
  77              "__experimentalTextDecoration": true,
  78              "__experimentalLetterSpacing": true,
  79              "__experimentalDefaultControls": {
  80                  "fontSize": true
  81              }
  82          },
  83          "renaming": false,
  84          "interactivity": {
  85              "clientNavigation": true
  86          }
  87      },
  88      "editorStyle": "wp-block-navigation-link-editor",
  89      "style": "wp-block-navigation-link"
  90  }


Generated : Wed Jun 17 08:20:09 2026 Cross-referenced by PHPXref