Automattic\WooCommerce\Internal\Admin\Orders

ListTable::items_per_page()privateWC 1.0

Sets up an items-per-page control.

Method of the class: ListTable{}

No Hooks.

Return

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->items_per_page(): void;

ListTable::items_per_page() code WC 8.9.0

private function items_per_page(): void {
	add_screen_option(
		'per_page',
		array(
			'default' => 20,
			'option'  => 'edit_' . $this->order_type . '_per_page',
		)
	);
}