render_block_core_post_template


render_block_core_post_template ( $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:
Change Log:
  • C: h

Description

Renders the `core/post-template` block on the server.

Related Functions

register_block_core_post_template, render_block_core_post_date, render_block_core_comment_template, render_block_core_post_terms, render_block_core_post_title

Top Google Results

User discussions

wpseek mobile