get_page_of_comment – filter

Filters the calculated page on which a comment appears. 

Parameters

.
( 4.4.0 ) . .
Introduced
( 4.7.0 ) the `$comment_ID` parameter. . . .
( int ) $page Comment page. . . .
$args
( 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`. . . .
$type
( string ) Type of comments to count. . . .
( int ) $page Calculated current page. . . .
( int ) $per_page Calculated number of comments per page. . . .
( int ) $max_depth Maximum comment threading depth allowed. } . . .
$original_args
( array ) { Array of arguments passed to the function. Some or all of these may not be set. . . .
$type
( string ) Type of comments to count. . . .
( int ) $page Current comment page. . . .
( int ) $per_page Number of comments per page. . . .
( int ) $max_depth Maximum comment threading depth allowed. } . . .
$comment_ID
( int ) ID of the comment. . . .
API Letters: ,,,

Implementers