Displays a paginated navigation to next/previous set of comments, when applicable.
$argsarrayoptional
screen_reader_text stringaria_label stringclass string'comments-pagination'.Default:array()
function the_comments_pagination( $args = array() ) {
echo get_the_comments_pagination( $args );
}
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/the_comments_pagination