WC_API::get_rest_api_package_path()

Get the version of the REST API package being ran.


Description Description


Return Return

(string)


Top ↑

Source Source

File: includes/class-wc-api.php

	public function get_rest_api_package_path() {
		if ( ! $this->is_rest_api_loaded() ) {
			return null;
		}
		return \Automattic\WooCommerce\RestApi\Package::get_path();
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.7.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.