WordPress at Your Fingertips
function is not described

WC_Legacy_API::rest_api_includes() 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.

Include REST API classes.

{} 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_includes();

Changelog

Deprecated Since 3.7.0 - REST API clases autoload.

Code of WC_Legacy_API::rest_api_includes() WC 5.7.0

public function rest_api_includes() {
	$this->rest_api_init();
}