Requests::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/class-requests.php

public static function patch($url, $headers, $data = array(), $options = array()) {
		return self::request($url, $headers, $data, self::PATCH, $options);
	}

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