Core Function
View Source on Trac ↗ render_block_core_comment_author_name()
render_block_core_comment_author_name( mixed $attributes, mixed $content, mixed $block ) Renders the `core/comment-author-name` block on the server.
Parameters 3 required
| Name / Type | Description |
|---|---|
| $attributes array | Block attributes. Required |
| $content string | Block default content. Required |
| $block WP_Block | Block instance. Required |
Return Value
(string)
Return the post comment's author.
Function Information
Since Version
6.0.0
Source File
wp-includes/blocks/comment-author-name.php
Advertisement