WPSEO_Addon_Manager::get_installed_addons()
Retrieves the installed Yoast addons.
Метод класса: WPSEO_Addon_Manager{}
Хуков нет.
Возвращает
Массив
. The installed plugins.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_installed_addons();
Код WPSEO_Addon_Manager::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 ); }