[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

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


Generated : Fri Oct 24 08:20:05 2025 Cross-referenced by PHPXref