WordPress at Your Fingertips
function is not described

WooCommerce::plugin_path() public WC 1.0

Get the plugin path.

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

No Hooks.

Return

String.

Usage

$WooCommerce = new WooCommerce();
$WooCommerce->plugin_path();

Code of WooCommerce::plugin_path() WC 5.6.0

public function plugin_path() {
	return untrailingslashit( plugin_dir_path( WC_PLUGIN_FILE ) );
}