WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about comments_per_page

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/class-wp-comments-list-table.php apply_filters 211 /**
* Filters the number of comments listed per page in the comments list table.
*
* @since 2.6.0
*
* @param int $comments_per_page The number of comments to list per page.
* @param string $comment_status The comment status name. Default 'All'.
*/
wp-admin/includes/class-wp-screen.php apply_filters 1256 /**
* Renders the items per page option.
*
* @since 3.3.0
*/

Hook Parameters

Parameter Type Name Description
int $comments_per_page The number of comments to list per page.
string $comment_status The comment status name. Default 'All'.