Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\Admin

Table::set_items_per_page()publicWC 1.0

Saves the items-per-page setting.

Метод класса: Table{}

No Hooks.

Return

Mixed.

Usage

$Table = new Table();
$Table->set_items_per_page( $default, $option, $value );
$default(mixed) (required)
The default value.
$option(string) (required)
The option being configured.
$value(int) (required)
The submitted option value.

Code of Table::set_items_per_page() WC 7.1.0

public function set_items_per_page( $default, string $option, int $value ) {
	return 'edit_approved_directories_per_page' === $option ? absint( $value ) : $default;
}