WP_Plugin_Install_List_Table::get_installed_plugin_slugs()protectedWP 4.0.0

Returns a list of slugs of installed plugins, if known.

Uses the transient data from the updates API to determine the slugs of known installed plugins. This might be better elsewhere, perhaps even within get_plugins().

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

Хуков нет.

Возвращает

Массив.

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

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

Список изменений

С версии 4.0.0 Введена.

Код WP_Plugin_Install_List_Table::get_installed_plugin_slugs() WP 6.4.3

protected function get_installed_plugin_slugs() {
	return array_keys( $this->get_installed_plugins() );
}