WooCommerce::plugin_path()publicWC 1.0

Get the plugin path.

Method of the class: WooCommerce{}

No Hooks.

Return

String.

Usage

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

WooCommerce::plugin_path() code WC 8.6.1

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