WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

PluginsHelper::get_installed_plugin_slugs() public WC 1.0

Get an array of installed plugin slugs.

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

No Hooks.

Return

Array. Nothing.

Usage

$result = PluginsHelper::get_installed_plugin_slugs();

Code of PluginsHelper::get_installed_plugin_slugs() WC 5.2.2

<?php
public static function get_installed_plugin_slugs() {
	return array_map(
		function( $plugin_path ) {
			$path_parts = explode( '/', $plugin_path );
			return $path_parts[0];
		},
		array_keys( get_plugins() )
	);
}