WP_REST_Server::get_max_batch_size()
Gets the maximum number of requests that can be included in a batch.
Return Return
(int) The maximum requests.
Source Source
File: wp-includes/rest-api/class-wp-rest-server.php
protected function get_max_batch_size() { /** * Filters the maximum number of requests that can be included in a batch. * * @param int $max_size The maximum size. */ return apply_filters( 'rest_get_max_batch_size', 25 ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |