WpOrg\Requests

Capability{}WP 1.0

Capability interface declaring the known capabilities.

This is used as the authoritative source for which capabilities can be queried.

Хуков нет.

Использование

$Capability = new Capability();
// use class methods

Методы

Нет Методов у класса.

Заметки

  • Пакет: Requests\Utilities

Код Capability{} WP 6.6.1

interface Capability {

	/**
	 * Support for SSL.
	 *
	 * @var string
	 */
	const SSL = 'ssl';

	/**
	 * Collection of all capabilities supported in Requests.
	 *
	 * Note: this does not automatically mean that the capability will be supported for your chosen transport!
	 *
	 * @var string[]
	 */
	const ALL = [
		self::SSL,
	];
}