Requests_Session::put() WordPress Method

The put() method of the Requests_Session class makes an HTTP PUT request to a specified Wordpress URL. The method takes two arguments: the Wordpress URL to request and an array of data to send with the request.

Requests_Session::put( $url,  $headers = array(),  $data = array(),  $options = array() ) #

Send a PUT request


Source

File: wp-includes/Requests/Session.php

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

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.