W3cubDocs

/WordPress

Requests::delete( $url, $headers = array(), $options = array() )

Send a DELETE request

Source

File: wp-includes/class-requests.php

public static function delete($url, $headers = array(), $options = array()) {
		return self::request($url, $headers, null, self::DELETE, $options);
	}

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