WpOrg\Requests

Session::put()publicWP 1.0

Send a PUT request

Method of the class: Session{}

No Hooks.

Return

null. Nothing (null).

Usage

$Session = new Session();
$Session->put( $url, $headers, $data, $options );
$url (required)
-
$headers **
-
Default: []
$data **
-
Default: []
$options **
-
Default: []

Session::put() code WP 6.6.2

public function put($url, $headers = [], $data = [], $options = []) {
	return $this->request($url, $headers, $data, Requests::PUT, $options);
}