woocommerce/init.php

12 lines
226 B
PHP
Raw Normal View History

2019-05-22 15:35:10 +00:00
<?php
/**
* Anonomous function used to init this version of the REST API.
*
* @package WooCommerce/RestApi
*/
return function() {
2019-06-12 12:09:20 +00:00
require __DIR__ . '/src/Server.php';
\WooCommerce\RestApi\Server::instance()->init();
2019-05-22 15:35:10 +00:00
};