Automattic\WooCommerce\Admin\PluginsProvider

PluginsProviderInterface::get_plugin_data()publicWC 1.0

Get plugin data.

Method of the class: PluginsProviderInterface{}

No Hooks.

Return

Array|false.

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.

PluginsProviderInterface::get_plugin_data() code WC 7.3.0

public function get_plugin_data( $plugin );