Automattic\WooCommerce\Api\Pagination
PaginationParams::get_default_page_size
The page size to use when no explicit first or last is provided.
Exposed as a method (not just the constant) so the default can become configurable — e.g. via a filter or store option — without requiring call-site changes.
Method of the class: PaginationParams{}
No Hooks.
Returns
Int.
Usage
$result = PaginationParams::get_default_page_size(): int;
PaginationParams::get_default_page_size() PaginationParams::get default page size code WC 10.9.1
public static function get_default_page_size(): int {
return self::DEFAULT_PAGE_SIZE;
}