Automattic\WooCommerce\RestApi

Server::get_pathpublic staticWC 1.0

Return the path to the package.

Method of the class: Server{}

No Hooks.

Returns

String.

Usage

$result = Server::get_path();

Server::get_path() code WC 10.4.3

public static function get_path() {
	return dirname( __DIR__ );
}