Filters the maximum number of REST API requests that can be included in a batch.
Parameters
$max_sizeint- The maximum size.
Source
return apply_filters( 'rest_get_max_batch_size', 25 );
Changelog
| Version | Description |
|---|---|
| 5.6.0 | Introduced. |
Filters the maximum number of REST API requests that can be included in a batch.
$max_sizeintreturn apply_filters( 'rest_get_max_batch_size', 25 );
| Version | Description |
|---|---|
| 5.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.