get_the_comments_navigation


get_the_comments_navigation ( $args = array() )

Parameters:
  • (array) args { Optional. Default comments navigation arguments. @type string $prev_text Anchor text to display in the previous comments link. Default 'Older comments'. @type string $next_text Anchor text to display in the next comments link. Default 'Newer comments'. @type string $screen_reader_text Screen reader text for the nav element. Default 'Comments navigation'. @type string $aria_label ARIA label text for the nav element. Default 'Comments'. @type string $class Custom class for the nav element. Default 'comment-navigation'. }
Returns:
  • (string) Markup for comments links.
Defined at:
Change Log:
  • 5: .
  • 5: .

Description

Retrieves navigation to next/previous set of comments, when applicable.

Related Functions

the_comments_navigation, get_the_comments_pagination, get_the_posts_navigation, get_the_post_navigation, the_comments_pagination

Top Google Results

User discussions

wpseek mobile