the_comments_pagination

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

Description

the_comments_pagination( (array) $args = array() ); 

Parameters (1)

0. $args — Optional. (array) => array()
See get_the_comments_pagination() for available arguments. Default empty array.

Usage

  1. if ( !function_exists( 'the_comments_pagination' ) ) { 
  2. require_once ABSPATH . WPINC . '/link-template.php'; 
  3.  
  4. // See get_the_comments_pagination() for available arguments. Default empty array. 
  5. $args = array(); 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = the_comments_pagination($args); 
  9.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/link-template.php  
  1. function the_comments_pagination( $args = array() ) { 
  2. echo get_the_comments_pagination( $args );