Requests_Session::patch( $url, $headers, $data = array(), $options = array() )

Send a PATCH request

Description

Note: Unlike post and put, $headers is required, as the specification recommends that should send an ETag

Source

File: wp-includes/Requests/Session.php

public function patch($url, $headers, $data = array(), $options = array()) {
		return $this->request($url, $headers, $data, Requests::PATCH, $options);
	}

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests_session/patch