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

Send a PATCH request


Description Description

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


Top ↑

Source 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);
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.