WPSEO_Plugin_Availability::get_plugins_with_dependencies()publicYoast 1.0

Gets an array of plugins that have defined dependencies.

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

Хуков нет.

Возвращает

Массив. Array of the plugins that have dependencies.

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

$WPSEO_Plugin_Availability = new WPSEO_Plugin_Availability();
$WPSEO_Plugin_Availability->get_plugins_with_dependencies();

Код WPSEO_Plugin_Availability::get_plugins_with_dependencies() Yoast 19.11

public function get_plugins_with_dependencies() {
	return array_filter( $this->plugins, [ $this, 'has_dependencies' ] );
}