WpOrg\Requests
Transport::test
Self-test whether the transport can be used.
The available capabilities to test for can be found in Capability{}.
Метод класса: Transport{}
Хуков нет.
Возвращает
true|false. Whether the transport can be used.
Использование
$result = Transport::test( $capabilities );
- $capabilities
- .
По умолчанию: []
Код Transport::test() Transport::test WP 6.8.3
public static function test($capabilities = []);