<!-- wp:clanbite-social/player-friends-count /-->Shows how many friends a player has. Optional rich-text prefix and suffix. Respects the friends feature setting.
Dynamic
- Block name
clanbite-social/player-friends-count- Title
- Player friends count
- Category
clanbite-social- Uses context
clanbite/playerId
Attributes
| Attribute | Type | Default | Values |
|---|---|---|---|
prefix | string | '' | |
postfix | string | '' | |
profileUserId | number | 0 |
Supports
{
"spacing": {
"margin": true,
"padding": true,
"blockGap": true
},
"color": {
"text": true,
"background": true,
"link": true
},
"typography": {
"fontSize": true,
"lineHeight": true
},
"html": false,
"align": true
}Markup
<!-- wp:clanbite-social/player-friends-count /-->Defined in src/blocks/player-friends-count/block.json