WPSEO_Abstract_Capability_Manager::get_capabilities()publicYoast 1.0

Returns the list of registered capabilitities.

Метод класса: WPSEO_Abstract_Capability_Manager{}

Хуков нет.

Возвращает

Строку[]. Registered capabilities.

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

$WPSEO_Abstract_Capability_Manager = new WPSEO_Abstract_Capability_Manager();
$WPSEO_Abstract_Capability_Manager->get_capabilities();

Код WPSEO_Abstract_Capability_Manager::get_capabilities() Yoast 19.11

public function get_capabilities() {
	return array_keys( $this->capabilities );
}