WC_Legacy_API::rest_api_init()publicWC 1.0

Deprecated from version 3.7.0 - REST API classes autoload.. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Rest API Init.

Method of the class: WC_Legacy_API{}

No Hooks.


null. Nothing (null).


$WC_Legacy_API = new WC_Legacy_API();


Deprecated since 3.7.0 - REST API classes autoload.

WC_Legacy_API::rest_api_init() code WC 8.9.0

public function rest_api_init() {}