[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

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

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

Defines 3 functions

  render_block_core_template_part()
  build_template_part_block_variations()
  register_block_core_template_part()

Functions
Functions that are not part of a class:

render_block_core_template_part( $attributes )   X-Ref
Renders the `core/template-part` block on the server.

return: string The render.
param: array $attributes The block attributes.

build_template_part_block_variations()   X-Ref
Returns an array of variation objects for the template part block.

return: array Array containing the block variation objects.

register_block_core_template_part()   X-Ref
Registers the `core/template-part` block on the server.




Generated: Fri Apr 26 01:00:03 2024 Cross-referenced by PHPXref 0.7.1