[ Index ]

PHP Cross Reference of WordPress




/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


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: Mon Jul 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1