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

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 6.1.1

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