Automattic\WooCommerce\Internal\Admin\ProductReviews

ReviewsListTable::get_per_page()protectedWC 1.0

Returns the number of items to show per page.

Method of the class: ReviewsListTable{}

No Hooks.

Return

Int. Customized per-page value if available, or 20 as the default.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_per_page() : int;

ReviewsListTable::get_per_page() code WC 8.7.0

protected function get_per_page() : int {
	return $this->get_items_per_page( 'edit_comments_per_page' );
}