Glossary Term
get_comment_pages_count()
3 tags
1 category
get_comment_pages_count() — Calculates the total number of comment pages.
Inputs: $comments (WP_Comment[]): Optional. Array of WP_Comment objects. Defaults to $wp_query->comments. $per_page (int): Optional. Comments per page. Defaults to the value of comments_per_page query var, option of the same name, or 1 (in that order). $threaded (bool): Optional. Control over flat or threaded comments. Defaults to the value of thread_comments option.
Returns int: Number of comment pages.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
