Used By
Used By | Description |
---|---|
wp-includes/comment.php: get_page_of_comment() | Calculate what page number a comment will appear on for comment paging. |
Filters the calculated page on which a comment appears.
(int) Comment page.
(array) Arguments used to calculate pagination. These include arguments auto-detected by the function, based on query vars, system settings, etc. For pristine arguments passed to the function, see $original_args
.
(string) Type of comments to count.
(int) Calculated current page.
(int) Calculated number of comments per page.
(int) Maximum comment threading depth allowed.
(array) Array of arguments passed to the function. Some or all of these may not be set.
(string) Type of comments to count.
(int) Current comment page.
(int) Number of comments per page.
(int) Maximum comment threading depth allowed.
(int) ID of the comment.
File: wp-includes/comment.php
Version | Description |
---|---|
4.7.0 | Introduced the $comment_ID parameter. |
4.4.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_page_of_comment