WordPress at Your Fingertips
function is not described

Requests_Session::put() public WP 1.0

Send a PUT request

{} It's a method of the class: Requests_Session{}

No Hooks.

Return

null. Nothing.

Usage

$Requests_Session = new Requests_Session();
$Requests_Session->put( $url, $headers, $data, $options );
$url (required)
-
$headers **
-
Default: array()
$data **
-
Default: array()
$options **
-
Default: array()

Code of Requests_Session::put() WP 5.8

<?php
public function put($url, $headers = array(), $data = array(), $options = array()) {
	return $this->request($url, $headers, $data, Requests::PUT, $options);
}