WPDev.one
Core Function
View Source on Trac ↗

render_block_core_pattern()

render_block_core_pattern( mixed $attributes )

Renders the `core/pattern` block on the server.

Parameters 1 required

Name / Type Description
$attributes
array

Block attributes.

Required

Return Value

(string)
Returns the output of the pattern.

Function Information

Since Version
6.3.0 Backwards compatibility: blocks with no `syncStatus` attribute do not receive block wrapper.
Source File
wp-includes/blocks/pattern.php
Advertisement