WordPress at Your Fingertips
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 6.1.0

public static function active_plugins() {
	return( array(
		'plugins' => array_values( PluginsHelper::get_active_plugin_slugs() ),
	) );
}