WooCommerce::load_rest_api()
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() WooCommerce::load rest api WC 6.5.1
public function load_rest_api() { \Automattic\WooCommerce\RestApi\Server::instance()->init(); }