| [ 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/accordion-heading", 5 "title": "Accordion Heading", 6 "category": "design", 7 "description": "Displays a heading that toggles the accordion panel.", 8 "parent": [ "core/accordion-item" ], 9 "usesContext": [ 10 "core/accordion-icon-position", 11 "core/accordion-show-icon", 12 "core/accordion-heading-level" 13 ], 14 "supports": { 15 "anchor": true, 16 "background": { 17 "gradient": true 18 }, 19 "color": { 20 "background": true, 21 "gradients": true 22 }, 23 "align": false, 24 "interactivity": true, 25 "spacing": { 26 "padding": true, 27 "__experimentalDefaultControls": { 28 "padding": true 29 }, 30 "__experimentalSkipSerialization": true, 31 "__experimentalSelector": ".wp-block-accordion-heading__toggle" 32 }, 33 "__experimentalBorder": { 34 "color": true, 35 "radius": true, 36 "style": true, 37 "width": true, 38 "__experimentalDefaultControls": { 39 "color": true, 40 "radius": true, 41 "style": true, 42 "width": true 43 } 44 }, 45 "typography": { 46 "__experimentalSkipSerialization": [ 47 "textDecoration", 48 "letterSpacing" 49 ], 50 "fontSize": true, 51 "lineHeight": true, 52 "__experimentalFontFamily": true, 53 "__experimentalFontWeight": true, 54 "__experimentalFontStyle": true, 55 "__experimentalTextTransform": true, 56 "__experimentalTextDecoration": true, 57 "__experimentalLetterSpacing": true, 58 "__experimentalDefaultControls": { 59 "fontSize": true, 60 "fontFamily": true 61 } 62 }, 63 "shadow": true, 64 "visibility": false, 65 "lock": false 66 }, 67 "selectors": { 68 "spacing": ".wp-block-accordion-heading .wp-block-accordion-heading__toggle", 69 "typography": { 70 "letterSpacing": ".wp-block-accordion-heading .wp-block-accordion-heading__toggle-title", 71 "textDecoration": ".wp-block-accordion-heading .wp-block-accordion-heading__toggle-title" 72 } 73 }, 74 "attributes": { 75 "openByDefault": { 76 "type": "boolean", 77 "default": false 78 }, 79 "title": { 80 "type": "rich-text", 81 "source": "rich-text", 82 "selector": ".wp-block-accordion-heading__toggle-title", 83 "role": "content" 84 }, 85 "level": { 86 "type": "number" 87 }, 88 "iconPosition": { 89 "type": "string", 90 "enum": [ "left", "right" ], 91 "default": "right" 92 }, 93 "showIcon": { 94 "type": "boolean", 95 "default": true 96 } 97 }, 98 "textdomain": "default" 99 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Sat Nov 14 08:20:01 2026 | Cross-referenced by PHPXref |