WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API

Plugins::active_plugins() public WC 1.0

Returns a list of active plugins in API format.

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

No Hooks.

Return

Array. Active plugins

Usage

$result = Plugins::active_plugins();

Code of Plugins::active_plugins() WC 5.3.0

<?php
public static function active_plugins() {
	$allowed = self::get_allowed_plugins();
	$plugins = array_values( array_intersect( PluginsHelper::get_active_plugin_slugs(), array_keys( $allowed ) ) );
	return( array(
		'plugins' => array_values( $plugins ),
	) );
}