WordPress at Your Fingertips
function is not described

WooCommerce::load_rest_api() public WC 1.0

Load REST API.

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

No Hooks.

Return

null. Nothing.

Usage

$WooCommerce = new WooCommerce();
$WooCommerce->load_rest_api();

Code of WooCommerce::load_rest_api() WC 5.6.0

public function load_rest_api() {
	\Automattic\WooCommerce\RestApi\Server::instance()->init();
}