WPDev.one
Core Function
View Source on Trac ↗

wp_render_empty_block_template_warning()

wp_render_empty_block_template_warning( mixed $block_template )

Renders a warning screen for empty block templates.

Parameters 1 required

Name / Type Description
$block_template
WP_Block_Template

The block template object.

Required

Return Value

(string)
The warning screen HTML.

Function Information

Since Version
6.8.0
Source File
wp-includes/block-template.php
Advertisement