← Back
Editing: block.json
{ "name": "woocommerce/product-categories", "title": "Product Categories List", "category": "woocommerce", "description": "Show all product categories as a list or dropdown.", "keywords": [ "WooCommerce" ], "supports": { "interactivity": { "clientNavigation": true }, "align": [ "wide", "full" ], "html": false, "spacing": { "margin": true, "padding": true }, "color": { "background": true, "gradients": true, "link": true }, "__experimentalBorder": { "color": true, "radius": true, "style": true, "width": true }, "typography": { "fontSize": true, "lineHeight": true } }, "attributes": { "align": { "type": "string" }, "hasCount": { "type": "boolean", "default": true }, "hasImage": { "type": "boolean", "default": false }, "hasEmpty": { "type": "boolean", "default": false }, "isDropdown": { "type": "boolean", "default": false }, "isPreview": { "type": "boolean" }, "isHierarchical": { "type": "boolean", "default": true }, "showChildrenOnly": { "type": "boolean", "default": false } }, "example": { "attributes": { "hasCount": true, "hasImage": false } }, "textdomain": "woocommerce", "apiVersion": 3, "$schema": "https://schemas.wp.org/trunk/block.json" }
Save File
Cancel