next_comments_link() WordPress Function
The next_comments_link() function displays a link to the next set of comments, if any are available. This can be useful for paginating comments.
next_comments_link( string $label = '', int $max_page ) #
Displays the link to the next comments page.
Parameters
- $label
(string)(Optional) Label for link text.
Default value: ''
- $max_page
(int)(Optional) Max page. Default 0.
Source
File: wp-includes/link-template.php
function next_comments_link( $label = '', $max_page = 0 ) { echo get_next_comments_link( $label, $max_page ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |