WP_Comments_List_Table::get_per_page

Advertisement

Syntax Syntax

WP_Comments_List_Table::get_per_page( string $comment_status = 'all' )

Parameters Parameters

$comment_status

(string) (Optional)

Default value: 'all'

Return Return

(int)

Source Source

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

					'number' => 0,
				)
			)
		);

		$this->set_pagination_args(
			array(
				'total_items' => $total_comments,
				'per_page'    => $comments_per_page,
			)
		);
	}

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?