Automattic\WooCommerce\RestApi
Server::get_path()
Return the path to the package.
Метод класса: Server{}
Хуков нет.
Возвращает
Строку
.
Использование
$result = Server::get_path();
Код Server::get_path() Server::get path WC 9.5.1
public static function get_path() { return dirname( __DIR__ ); }