Filter hook 'comments_per_page'

in WP Core File wp-admin/includes/class-wp-comments-list-table.php at line 211

Description

Filters the number of comments listed per page in the comments list table.

Occurrences

Filename Line Number
wp-admin/includes/class-wp-comments-list-table.php 211
wp-admin/includes/class-wp-screen.php 1258

Parameters

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

PHP Doc

/**
		 * 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'.
		 */