[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/terms-query/ -> block.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/terms-query",
   5      "title": "Terms Query",
   6      "category": "theme",
   7      "description": "An advanced block that allows displaying taxonomy terms based on different query parameters and visual configurations.",
   8      "keywords": [ "terms", "taxonomy", "categories", "tags", "list" ],
   9      "textdomain": "default",
  10      "attributes": {
  11          "termQuery": {
  12              "type": "object",
  13              "default": {
  14                  "perPage": 10,
  15                  "taxonomy": "category",
  16                  "order": "asc",
  17                  "orderBy": "name",
  18                  "include": [],
  19                  "hideEmpty": true,
  20                  "showNested": false,
  21                  "inherit": false
  22              }
  23          },
  24          "tagName": {
  25              "type": "string",
  26              "default": "div"
  27          }
  28      },
  29      "usesContext": [ "templateSlug" ],
  30      "providesContext": {
  31          "termQuery": "termQuery"
  32      },
  33      "supports": {
  34          "align": [ "wide", "full" ],
  35          "html": false,
  36          "layout": true,
  37          "interactivity": true
  38      }
  39  }


Generated : Sat Oct 25 08:20:05 2025 Cross-referenced by PHPXref