Requests::put() WordPress Method

The Requests::put() method is a WordPress method that is used to send a PUT request to a WordPress site. This method can be used to update a WordPress site or to delete a WordPress site.

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

Send a PUT request


Source

File: wp-includes/class-requests.php

	public static function put($url, $headers = array(), $data = array(), $options = array()) {
		return self::request($url, $headers, $data, self::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.