WooCommerce::plugin_path()
Get the plugin path.
Method of the class: WooCommerce{}
No Hooks.
Return
String
.
Usage
$WooCommerce = new WooCommerce(); $WooCommerce->plugin_path();
WooCommerce::plugin_path() WooCommerce::plugin path code WC 9.2.3
public function plugin_path() { return untrailingslashit( plugin_dir_path( WC_PLUGIN_FILE ) ); }