Core Function
View Source on Trac ↗ paginate_comments_links()
paginate_comments_links( mixed $args = array() ) Displays or retrieves pagination links for the comments on the current post.
Parameters 1 required
| Name / Type | Description |
|---|---|
| (string | | array) $args Optional args. See paginate_links(). Default empty array. Required |
Return Value
((void)
(void | string | array) Void if 'echo' argument is true and 'type' is not an array,
or if the query is not for an existing single post of any post type.
Otherwise, markup for comment page links or array of comment page links,
depending on 'type' argument.
Function Information
Since Version
2.7.0
Source File
wp-includes/link-template.php
Advertisement