Verify that a specific HTTP method is supported by the provided WPRequest
- Source:
Parameters:
Name | Type | Description |
---|---|---|
method |
String
|
An HTTP method to check ('get', 'post', etc) |
request |
WPRequest
|
A WPRequest object with a _supportedMethods array |
Returns:
true iff the method is within request._supportedMethods