This is the API docs for LemonStand V1, which has been discontinued. LemonStand is now a cloud based platform, available at lemonstand.com.

LemonStand API

core:onInitialize event

Triggered by /modules/backend/init/custom_helpers.php
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onInitialize()
Triggered when the system initialization finishes and before any AJAX or POST handler is invoked. Usage example:
public function subscribeEvents()
{
  Backend::$events->addEvent('core:onInitialize', $this, 'core_initialize');
}

public function core_initialize()
{
  // Do something
}