WpOrg\Requests
Session::delete()
Send a DELETE request
Method of the class: Session{}
No Hooks.
Return
null
. Nothing (null).
Usage
$Session = new Session(); $Session->delete( $url, $headers, $options );
- $url (required)
- -
- $headers **
- -
Default: [] - $options **
- -
Default: []
Session::delete() Session::delete code WP 6.6.2
public function delete($url, $headers = [], $options = []) { return $this->request($url, $headers, null, Requests::DELETE, $options); }