Automattic\WooCommerce\Admin\PluginsProvider
PluginsProviderInterface::get_plugin_data()
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() PluginsProviderInterface::get plugin data code WC 8.7.0
public function get_plugin_data( $plugin );