Core Function
View Source on Trac ↗ render_block_core_query_no_results()
render_block_core_query_no_results( mixed $attributes, mixed $content, mixed $block ) Renders the `core/query-no-results` block on the server.
Parameters 3 required
| Name / Type | Description |
|---|---|
| $attributes array | Block attributes. Required |
| $content string | Block default content. Required |
| $block WP_Block | Block instance. Required |
Return Value
(string)
Returns the wrapper for the no results block.
Function Information
Since Version
6.0.0
Source File
wp-includes/blocks/query-no-results.php
Advertisement