| [ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Server-side rendering of the `core/comment-template` block.
| File Size: | 123 lines (3 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. return: string param: WP_Comment[] $comments The array of comments. param: WP_Block $block Block instance. |
| render_block_core_comment_template( $attributes, $content, $block ) X-Ref |
| Renders the `core/comment-template` block on the server. return: string Returns the HTML representing the comments using the layout param: array $attributes Block attributes. param: string $content Block default content. param: WP_Block $block Block instance. |
| register_block_core_comment_template() X-Ref |
| Registers the `core/comment-template` block on the server. |
| Generated: Tue Oct 28 01:00:02 2025 | Cross-referenced by PHPXref 0.7.1 |