get_comment_pages_count


get_comment_pages_count ( $comments = null, $per_page = null, $threaded = null )

Parameters:
  • (WP_Comment[]) $comments Optional. Array of WP_Comment objects. Defaults to $wp_query->comments.
  • (int) $per_page Optional. Comments per page.
  • (bool) $threaded Optional. Control over flat or threaded comments.
Uses:
  • Walker_Comment
Returns:
  • (int) Number of comment pages.
Defined at:

Description

Calculate the total number of comment pages.

Related Functions

get_comment_count, get_comment_author, get_comment_meta, get_comment_guid, get_comment_date

Top Google Results

User discussions

wpseek mobile