llms_update_util_get_items_per_page()
Get the number of items per page used in paginated migration queries.
Return Return
(int)
Source Source
File: includes/functions/llms.functions.updates.php
function llms_update_util_get_items_per_page() { /** * Filters the number of items per page in migration queries. * * This filter exists primarily to allow phpunit tests for migration * functions and queries to reduce the number of items per query. In this * way pagination functionality can be tested without having to tests * a large number of items. * * @since 6.0.0 * * @param int $per_page Number of items per page. */ return apply_filters( 'llms_update_items_per_page', 50 ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |