Core Function
View Source on Trac ↗ render_block_core_social_link()
render_block_core_social_link( mixed $attributes, mixed $content, mixed $block ) Renders the `core/social-link` block on server.
Parameters 3 required
| Name / Type | Description |
|---|---|
| $attributes Array | The block attributes. Required |
| $content String | InnerBlocks content of the Block. Required |
| $block WP_Block | Block object. Required |
Return Value
(string)
Rendered HTML of the referenced block.
Function Information
Since Version
5.4.0
Source File
wp-includes/blocks/social-link.php
Advertisement