Core Function
View Source on Trac ↗ render_block_core_media_text()
render_block_core_media_text( mixed $attributes, mixed $content ) Renders the `core/media-text` block on server.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $attributes array | The block attributes. Required |
| $content string | The block rendered content. Required |
Return Value
(string)
Returns the Media & Text block markup, if useFeaturedImage is true.
Function Information
Since Version
6.6.0
Source File
wp-includes/blocks/media-text.php
Advertisement