WPSEO_Addon_Manager::get_installed_addons()protectedYoast 1.0

Retrieves the installed Yoast addons.

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

Хуков нет.

Возвращает

Массив. The installed plugins.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_installed_addons();

Код WPSEO_Addon_Manager::get_installed_addons() Yoast 22.4

protected function get_installed_addons() {
	return array_filter( $this->get_plugins(), [ $this, 'is_yoast_addon' ], ARRAY_FILTER_USE_KEY );
}