Automattic\WooCommerce\Admin\PluginsProvider

PluginsProvider::get_plugin_data()publicWC 1.0

Get plugin data.

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.

PluginsProvider::get_plugin_data() code WC 7.3.0

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