Filters the number of comments listed per page in the comments list table.
$comments_per_pageint
$comment_statusstring
'All'.return apply_filters( 'comments_per_page', $comments_per_page, $comment_status );
| Version | Description |
|---|---|
| 2.6.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comments_per_page