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–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests/delete