Core Function
View Source on Trac ↗ render_block_core_button()
render_block_core_button( mixed $attributes, mixed $content ) Renders the `core/button` block on the server,
Parameters 3 required
| Name / Type | Description |
|---|---|
| $attributes array | The block attributes. Required |
| $content string | The block content. Required |
| $block WP_Block | The block object. Required |
Return Value
(string)
The block content.
Function Information
Since Version
6.6.0
Source File
wp-includes/blocks/button.php
Advertisement