WordPress at Your Fingertips
function is not described

WC_Legacy_API::rest_api_init() public WC 1.0

Deprecated from version 3.7.0 - REST API clases 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.

{} It's a method of the class: WC_Legacy_API{}

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Deprecated Since 3.7.0 - REST API clases autoload.

Code of WC_Legacy_API::rest_api_init() WC 5.7.1

public function rest_api_init() {}