Automattic\WooCommerce\RestApi
Server::get_path
Return the path to the package.
Method of the class: Server{}
No Hooks.
Returns
String.
Usage
$result = Server::get_path();
Server::get_path() Server::get path code WC 10.4.3
public static function get_path() {
return dirname( __DIR__ );
}