WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\PluginsProvider

PluginsProviderInterface::get_plugin_data() public WC 1.0

Get plugin data.

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

No Hooks.

Return

Array|false. Nothing.

Usage

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

Code of PluginsProviderInterface::get_plugin_data() WC 5.3.0

<?php
public function get_plugin_data( $plugin );