WordPress at Your Fingertips
function is not described

WC_Legacy_API::register_rest_routes() public WC 1.0

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

Register REST API routes.

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

No Hooks.


null. Nothing.


$WC_Legacy_API = new WC_Legacy_API();


Deprecated 3.7.0

Code of WC_Legacy_API::register_rest_routes() WC 5.7.1

public function register_rest_routes() {
	wc_deprecated_function( 'WC_Legacy_API::register_rest_routes', '3.7.0', '' );