software-license-manager/woocommerce/includes/wc-slm.php
Michel Velis 36b80696e3 ## Features
- added: support for email reminder, user will receive an email when license has expired
-  fixed: a bug where email will be send-out
- added: custom fields to woocommece order
- added: product type (license) for woocommerce
- rebuilt my licenses in my account page
- added: until version and current version to api
- ui: change styles to match more wp interface
2019-07-01 14:50:31 -04:00

19 lines
345 B
PHP
Executable file

<?php
class WOO_SLM {
private static $instance;
public static function instance() {
if (!self::$instance) {
self::$instance = new WOO_SLM();
self::$instance->includes();
}
return self::$instance;
}
private function includes() {
require_once SLM_WOO . 'includes/purchase.php';
}
}
return WOO_SLM::instance();