get_comment_pages_count Wordpress function


Description:

Calculate the total number of comment pages.


Syntax:


Arguments:

(array) $comments Optional array of comment objects. Defaults to $wp_query->comments
(int) $per_page Optional comments per page.
(boolean) $threaded Optional control over flat or threaded comments.


Return Type:

(int) Number of comment pages.


Define At:

wp-includes/comment.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_comment_pages_count


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×