Checks to see if we have a transport for the capabilities requested.
Description
Supported capabilities can be found in the \WpOrg\Requests\Capability interface as constants. Example usage: Requests::has_capabilities([Capability::SSL => true]).
Parameters
$capabilitiesarrayoptional
Default: []
Return
bool
Whether the transport has the requested capabilities.
Signature, return type and hooks compared across 5 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-includes/Requests/src/Requests.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.