Core Function
View Source on Trac ↗ render_block_core_home_link()
render_block_core_home_link( mixed $attributes, mixed $content, mixed $block ) Renders the `core/home-link` block.
Parameters 3 required
| Name / Type | Description |
|---|---|
| $attributes array | The block attributes. Required |
| $content string | The saved content. Required |
| $block WP_Block | The parsed block. Required |
Return Value
(string)
Returns the post content with the home url added.
Function Information
Since Version
6.0.0
Source File
wp-includes/blocks/home-link.php
Advertisement