Automattic\WooCommerce\RestApi

Server::get_path │ public static │ WC 1.0

Return the path to the package.

Метод класса: Server{}

Хуков нет.

Возвращает

string.

Использование

$result = Server::get_path();

Код Server::get_path() WC 11.2.2

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