Core Function
View Source on Trac ↗ comments_template()
comments_template( mixed $file = '/comments.php', mixed $separate_comments = false ) Loads the comment template specified in $file.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $file string | Optional. The file to load. Default '/comments.php'. |
| bool | $separate_comments Optional. Whether to separate the comments by comment type. Default false. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
1.5.0
Source File
wp-includes/comment-template.php
Advertisement