Description
Renders the `core/latest-comments` block on server.
Occurrences
Filename | Line Number |
---|---|
wp-includes/blocks/latest-comments.php | 48 |
wp-includes/widgets/class-wp-widget-recent-comments.php | 109 |
Parameters
Type | Name | Description |
---|---|---|
array | $attributes | The block attributes. |
PHP Doc
/**
* Renders the `core/latest-comments` block on server.
*
* @since 5.1.0
*
* @param array $attributes The block attributes.
*
* @return string Returns the post content with latest comments added.
*/