Requests_Session::delete() WordPress Method
The Requests_Session::delete() method is used to make an HTTP DELETE request. This method is used to delete data from a server. The delete method can be used with both the WordPress REST API and the WordPress XML-RPC API.
Requests_Session::delete( $url, $headers = array(), $options = array() ) #
Send a DELETE request
Source
File: wp-includes/Requests/Session.php
public function delete($url, $headers = array(), $options = array()) { return $this->request($url, $headers, null, Requests::DELETE, $options); }
Expand full source codeCollapse full source codeView on TracView on GitHub