Filters the maximum number of REST API requests that can be included in a batch.
$max_sizeint
return apply_filters( 'rest_get_max_batch_size', 25 );
| Version | Description |
|---|---|
| 5.6.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_get_max_batch_size