WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\RestApi

Server::get_path() public WC 1.0

Return the path to the package.

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

No Hooks.

Return

String.

Usage

$result = Server::get_path();

Code of Server::get_path() WC 5.9.0

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