render_legacy_query_loop_block


render_legacy_query_loop_block ( $attributes, $content, $block )

Parameters:
  • (array) attributes Block attributes.
  • (string) content Block default content.
  • (WP_Block) block Block instance.
Returns:
  • (string) Returns the output of the query, structured using the layout defined by the block's inner blocks.
Defined at:

Description

Renders the legacy `core/query-loop` block on the server.It triggers a developer warning and then calls the renamed block's `render_callback` function output. This can be removed when WordPress 5.9 is released.

Related Functions

gutenberg_register_legacy_query_loop_block, render_block_core_block, render_block_core_query_title, render_block, _excerpt_render_inner_columns_blocks

Top Google Results

User discussions

wpseek mobile