| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 { 2 "$schema": "https://schemas.wp.org/trunk/block.json", 3 "apiVersion": 3, 4 "name": "core/navigation", 5 "title": "Navigation", 6 "category": "theme", 7 "allowedBlocks": [ 8 "core/navigation-link", 9 "core/search", 10 "core/social-links", 11 "core/page-list", 12 "core/spacer", 13 "core/home-link", 14 "core/site-title", 15 "core/site-logo", 16 "core/navigation-submenu", 17 "core/loginout", 18 "core/buttons" 19 ], 20 "description": "A collection of blocks that allow visitors to get around your site.", 21 "keywords": [ "menu", "navigation", "links" ], 22 "textdomain": "default", 23 "attributes": { 24 "ref": { 25 "type": "number" 26 }, 27 "textColor": { 28 "type": "string" 29 }, 30 "customTextColor": { 31 "type": "string" 32 }, 33 "rgbTextColor": { 34 "type": "string" 35 }, 36 "backgroundColor": { 37 "type": "string" 38 }, 39 "customBackgroundColor": { 40 "type": "string" 41 }, 42 "rgbBackgroundColor": { 43 "type": "string" 44 }, 45 "showSubmenuIcon": { 46 "type": "boolean", 47 "default": true 48 }, 49 "openSubmenusOnClick": { 50 "type": "boolean", 51 "default": false 52 }, 53 "overlayMenu": { 54 "type": "string", 55 "default": "mobile" 56 }, 57 "overlay": { 58 "type": "string" 59 }, 60 "icon": { 61 "type": "string", 62 "default": "handle" 63 }, 64 "hasIcon": { 65 "type": "boolean", 66 "default": true 67 }, 68 "__unstableLocation": { 69 "type": "string" 70 }, 71 "overlayBackgroundColor": { 72 "type": "string" 73 }, 74 "customOverlayBackgroundColor": { 75 "type": "string" 76 }, 77 "overlayTextColor": { 78 "type": "string" 79 }, 80 "customOverlayTextColor": { 81 "type": "string" 82 }, 83 "maxNestingLevel": { 84 "type": "number", 85 "default": 5 86 }, 87 "templateLock": { 88 "type": [ "string", "boolean" ], 89 "enum": [ "all", "insert", "contentOnly", false ] 90 } 91 }, 92 "providesContext": { 93 "textColor": "textColor", 94 "customTextColor": "customTextColor", 95 "backgroundColor": "backgroundColor", 96 "customBackgroundColor": "customBackgroundColor", 97 "overlayTextColor": "overlayTextColor", 98 "customOverlayTextColor": "customOverlayTextColor", 99 "overlayBackgroundColor": "overlayBackgroundColor", 100 "customOverlayBackgroundColor": "customOverlayBackgroundColor", 101 "fontSize": "fontSize", 102 "customFontSize": "customFontSize", 103 "showSubmenuIcon": "showSubmenuIcon", 104 "openSubmenusOnClick": "openSubmenusOnClick", 105 "style": "style", 106 "maxNestingLevel": "maxNestingLevel" 107 }, 108 "supports": { 109 "align": [ "wide", "full" ], 110 "ariaLabel": true, 111 "contentRole": true, 112 "html": false, 113 "inserter": true, 114 "typography": { 115 "fontSize": true, 116 "lineHeight": true, 117 "__experimentalFontStyle": true, 118 "__experimentalFontWeight": true, 119 "__experimentalTextTransform": true, 120 "__experimentalFontFamily": true, 121 "__experimentalLetterSpacing": true, 122 "__experimentalTextDecoration": true, 123 "__experimentalSkipSerialization": [ "textDecoration" ], 124 "__experimentalDefaultControls": { 125 "fontSize": true 126 } 127 }, 128 "spacing": { 129 "blockGap": true, 130 "units": [ "px", "em", "rem", "vh", "vw" ], 131 "__experimentalDefaultControls": { 132 "blockGap": true 133 } 134 }, 135 "layout": { 136 "allowSwitching": false, 137 "allowInheriting": false, 138 "allowVerticalAlignment": false, 139 "allowSizingOnChildren": true, 140 "default": { 141 "type": "flex" 142 } 143 }, 144 "interactivity": true, 145 "renaming": false 146 }, 147 "editorStyle": "wp-block-navigation-editor", 148 "style": "wp-block-navigation" 149 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Thu May 7 08:20:02 2026 | Cross-referenced by PHPXref |