WP_Post_Comments_List_Table::get_per_page() WordPress Method

This function defines how many comments to show per page in the Comments list table. By default, this is set to 50.

WP_Post_Comments_List_Table::get_per_page( bool $comment_status = false ) #


Parameters

$comment_status

(bool)(Optional)

Default value: false


Top ↑

Return

(int)


Top ↑

Source

File: wp-admin/includes/class-wp-post-comments-list-table.php

	public function get_per_page( $comment_status = false ) {
		return 10;
	}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.