WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

PluginsHelper::get_plugin_data() public WC 1.0

Get plugin data.

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

No Hooks.

Return

Array|false. Nothing.

Usage

$result = PluginsHelper::get_plugin_data( $plugin );
$plugin(string) (required)
Path to the plugin file relative to the plugins directory or the plugin directory name.

Code of PluginsHelper::get_plugin_data() WC 5.3.0

<?php
public static function get_plugin_data( $plugin ) {
	$plugin_path = self::get_plugin_path_from_slug( $plugin );
	$plugins     = get_plugins();

	return isset( $plugins[ $plugin_path ] ) ? $plugins[ $plugin_path ] : false;
}