WPDev.one
Core Function
View Source on Trac ↗

render_block_core_latest_comments()

render_block_core_latest_comments( mixed $attributes = array() )

Renders the `core/latest-comments` block on server.

Parameters 0 required

Name / Type Description
$attributes
array

The block attributes.

Return Value

(string)
Returns the post content with latest comments added.

Function Information

Since Version
5.1.0
Source File
wp-includes/blocks/latest-comments.php
Advertisement