next_comments_link
Displays the link to the next comments page.
Description
Parameters (2)
- 0. $label — Optional. (string) =>
''
- Label for link text. Default empty.
- 1. $max_page — Optional. (int)
- Max page. Default 0.
Usage
if ( !function_exists( 'next_comments_link' ) ) { require_once ABSPATH . WPINC . '/link-template.php'; } // Optional. Label for link text. Default empty. $label = ''; // Optional. Max page. Default 0. $max_page = -1; // NOTICE! Understand what this does before running. $result = next_comments_link($label, $max_page);
Defined (1)
The function is defined in the following location(s).
- /wp-includes/link-template.php
- function next_comments_link( $label = '', $max_page = 0 ) {
- echo get_next_comments_link( $label, $max_page );
- }