[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-includes/blocks/ -> post-template.php (summary)

Server-side rendering of the `core/post-template` block.

File Size: 89 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  render_block_core_post_template()
  register_block_core_post_template()

Functions
Functions that are not part of a class:

render_block_core_post_template( $attributes, $content, $block )   X-Ref
Renders the `core/post-template` block on the server.

return: string Returns the output of the query, structured using the layout defined by the block's inner blocks.
param: array    $attributes Block attributes.
param: string   $content    Block default content.
param: WP_Block $block      Block instance.

register_block_core_post_template()   X-Ref
Registers the `core/post-template` block on the server.




Generated: Tue Nov 30 01:00:04 2021 Cross-referenced by PHPXref 0.7.1