Docs: Add missing HTTP methods to the list of those supported.
See #42505 git-svn-id: https://develop.svn.wordpress.org/trunk@43258 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b69237ecda
commit
6449cc7970
|
@ -105,7 +105,8 @@ class WP_Http {
|
|||
* @param string|array $args {
|
||||
* Optional. Array or string of HTTP request arguments.
|
||||
*
|
||||
* @type string $method Request method. Accepts 'GET', 'POST', 'HEAD', or 'PUT'.
|
||||
* @type string $method Request method. Accepts 'GET', 'POST', 'HEAD', 'PUT', 'DELETE',
|
||||
* 'TRACE', 'OPTIONS', or 'PATCH'.
|
||||
* Some transports technically allow others, but should not be
|
||||
* assumed. Default 'GET'.
|
||||
* @type int $timeout How long the connection should stay open in seconds. Default 5.
|
||||
|
|
Loading…
Reference in New Issue