WooCommerce::load_rest_api()
Load REST API.
Method of the class: WooCommerce{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WooCommerce = new WooCommerce(); $WooCommerce->load_rest_api();
WooCommerce::load_rest_api() WooCommerce::load rest api code WC 9.2.3
public function load_rest_api() { \Automattic\WooCommerce\RestApi\Server::instance()->init(); }