mirror of
https://gh.wpcy.net/https://github.com/michelve/software-license-manager.git
synced 2026-07-15 19:03:28 +08:00
- 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
19 lines
345 B
PHP
Executable file
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();
|