Filters the calculated page on which a comment appears.
Parameters
$pageint
Comment page.
$argsarray
{ 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. @type string $type Type of comments to count. @type int $page Calculated current page. @type int $per_page Calculated number of comments per page. @type int $max_depth Maximum comment threading depth allowed.}
$typestring
Type of comments to count.
$pageint
Calculated current page.
$per_pageint
Calculated number of comments per page.
$max_depthint
Maximum comment threading depth allowed.
$original_argsarray
{ Array of arguments passed to the function. Some or all of these may not be set. @type string $type Type of comments to count. @type int $page Current comment page. @type int $per_page Number of comments per page. @type int $max_depth Maximum comment threading depth allowed.}
1188* @type int$page Current comment page.1189* @type int$per_page Number of comments per page.1190* @type int$max_depth Maximum comment threading depth allowed.1191*}1192* @param int$comment_idID of the comment.1193*/1194returnapply_filters('get_page_of_comment',(int)$page,$args,$original_args,$comment_id);1195}11961197/**1198* Retrieves the maximum character lengths for the comment form fields.1199*1200* @since 4.5.0
History
Introduced in 4.7.0. Unchanged from 6.7.7 through 7.1.0.