WpOrg\Requests

Session::delete()publicWP 1.0

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() code WP 6.6.2

public function delete($url, $headers = [], $options = []) {
	return $this->request($url, $headers, null, Requests::DELETE, $options);
}