the_comments_navigation() WordPress Function
The the_comments_navigation() function is used to display the navigation for the comments on a post. This function displays the links for the next and previous pages of comments, as well as a link to the first and last pages of comments.
the_comments_navigation( array $args = array() ) #
Displays navigation to next/previous set of comments, when applicable.
Parameters
- $args
(array)(Optional)See get_the_comments_navigation() for available arguments.
Default value: array()
Source
File: wp-includes/link-template.php
function the_comments_navigation( $args = array() ) { echo get_the_comments_navigation( $args ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |