WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\PluginsProvider

PluginsProvider::get_plugin_path_from_slug() public WC 1.0

Get the path to the plugin file relative to the plugins directory from the plugin slug.

E.g. 'woocommerce' returns 'woocommerce/woocommerce.php'

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

No Hooks.

Return

String|false. Nothing.

Usage

$PluginsProvider = new PluginsProvider();
$PluginsProvider->get_plugin_path_from_slug( $slug );
$slug(string) (required)
Plugin slug to get path for.

Code of PluginsProvider::get_plugin_path_from_slug() WC 5.2.2

<?php
public function get_plugin_path_from_slug( $slug ) {
	return PluginsHelper::get_plugin_path_from_slug( $slug );
}