[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/social-links/ -> block.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/social-links",
   5      "title": "Social Icons",
   6      "category": "widgets",
   7      "allowedBlocks": [ "core/social-link" ],
   8      "description": "Display icons linking to your social profiles or sites.",
   9      "keywords": [ "links" ],
  10      "textdomain": "default",
  11      "attributes": {
  12          "iconColor": {
  13              "type": "string"
  14          },
  15          "customIconColor": {
  16              "type": "string"
  17          },
  18          "iconColorValue": {
  19              "type": "string"
  20          },
  21          "iconBackgroundColor": {
  22              "type": "string"
  23          },
  24          "customIconBackgroundColor": {
  25              "type": "string"
  26          },
  27          "iconBackgroundColorValue": {
  28              "type": "string"
  29          },
  30          "openInNewTab": {
  31              "type": "boolean",
  32              "default": false
  33          },
  34          "showLabels": {
  35              "type": "boolean",
  36              "default": false
  37          },
  38          "size": {
  39              "type": "string"
  40          }
  41      },
  42      "providesContext": {
  43          "openInNewTab": "openInNewTab",
  44          "showLabels": "showLabels",
  45          "iconColor": "iconColor",
  46          "iconColorValue": "iconColorValue",
  47          "iconBackgroundColor": "iconBackgroundColor",
  48          "iconBackgroundColorValue": "iconBackgroundColorValue"
  49      },
  50      "supports": {
  51          "align": [ "left", "center", "right" ],
  52          "anchor": true,
  53          "html": false,
  54          "__experimentalExposeControlsToChildren": true,
  55          "layout": {
  56              "allowSwitching": false,
  57              "allowInheriting": false,
  58              "allowVerticalAlignment": false,
  59              "default": {
  60                  "type": "flex"
  61              }
  62          },
  63          "color": {
  64              "enableContrastChecker": false,
  65              "background": true,
  66              "gradients": true,
  67              "text": false,
  68              "__experimentalDefaultControls": {
  69                  "background": false
  70              }
  71          },
  72          "spacing": {
  73              "blockGap": [ "horizontal", "vertical" ],
  74              "margin": true,
  75              "padding": true,
  76              "units": [ "px", "em", "rem", "vh", "vw" ],
  77              "__experimentalDefaultControls": {
  78                  "blockGap": true,
  79                  "margin": true,
  80                  "padding": false
  81              }
  82          },
  83          "interactivity": {
  84              "clientNavigation": true
  85          },
  86          "__experimentalBorder": {
  87              "radius": true,
  88              "color": true,
  89              "width": true,
  90              "style": true,
  91              "__experimentalDefaultControls": {
  92                  "radius": true,
  93                  "color": true,
  94                  "width": true,
  95                  "style": true
  96              }
  97          },
  98          "contentRole": true
  99      },
 100      "styles": [
 101          { "name": "default", "label": "Default", "isDefault": true },
 102          { "name": "logos-only", "label": "Logos Only" },
 103          { "name": "pill-shape", "label": "Pill Shape" }
 104      ],
 105      "editorStyle": "wp-block-social-links-editor",
 106      "style": "wp-block-social-links"
 107  }


Generated : Wed May 6 08:20:15 2026 Cross-referenced by PHPXref