W3cubDocs

/WordPress

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);
	}

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests_session/delete