W3cubDocs

/WordPress

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–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests_session/patch