WpOrg\Requests
Session::put()
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() Session::put code WP 6.6.2
public function put($url, $headers = [], $data = [], $options = []) { return $this->request($url, $headers, $data, Requests::PUT, $options); }