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()


Top ↑

Source

File: wp-includes/link-template.php

function the_comments_navigation( $args = array() ) {
	echo get_the_comments_navigation( $args );
}


Top ↑

Changelog

Changelog
VersionDescription
4.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More