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.

Return

null. Nothing (null).

Usage

$WC_Legacy_API = new WC_Legacy_API();
$WC_Legacy_API->rest_api_init();

Changelog

Deprecated since 3.7.0 - REST API classes autoload.

WC_Legacy_API::rest_api_init() code WC 8.7.0

public function rest_api_init() {}