Core Function
View Source on Trac ↗ render_block_core_query()
render_block_core_query( mixed $attributes, mixed $content, mixed $block ) Modifies the static `core/query` block on the server.
Parameters 3 required
| Name / Type | Description |
|---|---|
| $attributes array | Block attributes. Required |
| $content string | Block default content. Required |
| $block WP_Block | The block instance. Required |
Return Value
(string)
Returns the modified output of the query block.
Function Information
Since Version
6.4.0
Source File
wp-includes/blocks/query.php
Advertisement