WPDev.one
Core Function
View Source on Trac ↗

render_block_core_cover()

render_block_core_cover( mixed $attributes, mixed $content )

Renders the `core/cover` 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 cover block markup, if useFeaturedImage is true.

Function Information

Since Version
6.0.0
Source File
wp-includes/blocks/cover.php
Advertisement