Uses
Uses | Description |
---|---|
wp-includes/Requests/Session.php: Requests_Session::request() | Main interface for HTTP requests |
Send a PATCH request
Note: Unlike post and put, $headers
is required, as the specification recommends that should send an ETag
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