WpOrg\Requests
Transport::test()
Self-test whether the transport can be used.
The available capabilities to test for can be found in Capability{}.
Method of the class: Transport{}
No Hooks.
Return
true|false
. Whether the transport can be used.
Usage
$result = Transport::test( $capabilities );
- $capabilities **
- -
Default: []
Transport::test() Transport::test code WP 6.6.2
public static function test($capabilities = []);