WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\PluginsProvider

PluginsProvider::get_plugin_data() public WC 1.0

Get plugin data.

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

No Hooks.

Return

Array|false. Nothing.

Usage

$PluginsProvider = new PluginsProvider();
$PluginsProvider->get_plugin_data( $plugin );
$plugin(string) (required)
Path to the plugin file relative to the plugins directory or the plugin directory name.

Code of PluginsProvider::get_plugin_data() WC 5.3.0

<?php
public function get_plugin_data( $plugin ) {
	return PluginsHelper::get_plugin_data( $plugin );
}