WpOrg\Requests
Requests::put()
Send a PUT request
Method of the class: Requests{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = Requests::put( $url, $headers, $data, $options );
- $url (required)
- -
- $headers **
- -
Default: [] - $data **
- -
Default: [] - $options **
- -
Default: []
Requests::put() Requests::put code WP 6.6.2
public static function put($url, $headers = [], $data = [], $options = []) { return self::request($url, $headers, $data, self::PUT, $options); }