WordPress at Your Fingertips
function is not described

WP_Plugin_Install_List_Table::get_installed_plugin_slugs() protected WP 4.0.0

Return 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().

{} It's a method of the class: WP_Plugin_Install_List_Table{}

No Hooks.

Return

Array.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_installed_plugin_slugs();

Changelog

Since 4.0.0 Introduced.

Code of WP_Plugin_Install_List_Table::get_installed_plugin_slugs() WP 5.8.2

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