the_comments_pagination( array $args = array() )
Displays a paginated navigation to next/previous set of comments, when applicable.
Parameters
-
$args
array Optional -
See get_the_comments_pagination() for available arguments.
More Arguments from get_the_comments_pagination( ... $args )
Default pagination arguments.
screen_reader_text
stringScreen reader text for the nav element. Default 'Comments navigation'.aria_label
stringARIA label text for the nav element. Default'Comments'
.class
stringCustom class for the nav element. Default'comments-pagination'
.
Default:
array()
Source
File: wp-includes/link-template.php
.
View all references
function the_comments_pagination( $args = array() ) {
echo get_the_comments_pagination( $args );
}
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |