WC_Legacy_API::init()
Init the legacy API.
Method of the class: WC_Legacy_API{}
No Hooks.
Return
null
. Nothing.
Usage
$WC_Legacy_API = new WC_Legacy_API(); $WC_Legacy_API->init();
WC_Legacy_API::init() WC Legacy API::init code WC 7.7.0
public function init() { add_action( 'parse_request', array( $this, 'handle_rest_api_requests' ), 0 ); }