rest_get_max_batch_size WordPress Filter Hook
The rest_get_max_batch_size hook allows you to change the maximum number of objects that can be requested in a single batch request.
apply_filters( 'rest_get_max_batch_size', int $max_size ) #
Filters the maximum number of REST API requests that can be included in a batch.
Parameters
- $max_size
(int)The maximum size.
Source
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |