rest_get_max_batch_size, 25

rest_get_max_batch_size, 25

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('rest_get_max_batch_size, 25') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-import/src/endpoints/class-start.php line 67
    	 * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure.
    	 */
    	public function get_item( $request ) {
    		$items = array(
    			'max_batch_items'    => apply_filters( 'rest_get_max_batch_size', 25 ),
    			'max_execution_time' => (int) ini_get( 'max_execution_time' ),
    			'max_input_time'     => (int) ini_get( 'max_input_time' ),
    			'mime_types'         => get_allowed_mime_types(),
    			'posts_max_id'       => (int) $this->get_posts_max_id(),
    			'version'            => Main::PACKAGE_VERSION,
    		);