[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Server-side rendering of the `core/comment-template` block.
File Size: | 153 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
block_core_comment_template_render_comments( $comments, $block ) X-Ref |
Function that recursively renders a list of nested comments. param: WP_Comment[] $comments The array of comments. param: WP_Block $block Block instance. return: string |
render_block_core_comment_template( $attributes, $content, $block ) X-Ref |
Renders the `core/comment-template` block on the server. param: array $attributes Block attributes. param: string $content Block default content. param: WP_Block $block Block instance. return: string Returns the HTML representing the comments using the layout |
register_block_core_comment_template() X-Ref |
Registers the `core/comment-template` block on the server. |
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |