get_the_comments_pagination

SummerySummery

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

Syntax

get_the_comments_pagination( array $args = array() )

ParametersParameters

$args

(array) (Optional) Default pagination arguments.

  • 'screen_reader_text'
    (string) Screen reader text for the nav element. Default 'Comments navigation'.
  • 'aria_label'
    (string) ARIA label text for the nav element. Default 'Comments'.

Default value: array()

ReturnReturn

(string) Markup for pagination links.

SourceSource

File: wp-includes/link-template.php


			

ChangelogChangelog

Changelog
Version Description
5.3.0 Added the aria_label parameter.
4.4.0 Introduced.

See alsoSee also

Scroll to Top