apply_filters( 'comments_per_page', int $comments_per_page , string $comment_status )
Filters the number of comments listed per page in the comments list table.
Parameters
-
$comments_per_page
int -
The number of comments to list per page.
-
$comment_status
string -
The comment status name. Default
'All'
.
Source
File: wp-admin/includes/class-wp-comments-list-table.php
.
View all references
return apply_filters( 'comments_per_page', $comments_per_page, $comment_status );
Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |
User Contributed Notes
-
Skip to note 1 content You must log in to vote on the helpfulness of this noteVote results for this note: 0You must log in to vote on the helpfulness of this note