mirror of
https://gh.wpcy.net/https://github.com/michelve/software-license-manager.git
synced 2026-07-15 19:03:28 +08:00
fixed minor links giving 404 from jquery ui library added: activity log for licenses api added: woocommerce order details with license, status, and license type added: subscribers, now you can manage licenses by subscribers added: screen options added: filter by tags inside the license table added: admin stats dashboard fixed: minor depreciation errors bugs: fixed another minor errors and bugs
26 lines
No EOL
647 B
PHP
Executable file
26 lines
No EOL
647 B
PHP
Executable file
<?php
|
|
/**
|
|
* Runs on Uninstall of Software License Manager
|
|
*
|
|
* @package Software License Manager
|
|
* @author Michel Velis
|
|
* @license GPL-2.0+
|
|
* @link http://epikly.com
|
|
*/
|
|
class SLM_Activator {
|
|
|
|
public static function slm_db_install(){
|
|
//Installer function
|
|
require_once SLM_LIB . 'class-slm-installer.php';
|
|
}
|
|
|
|
public static function activate() {
|
|
//Do installer task
|
|
self::slm_db_install();
|
|
|
|
//schedule a daily cron event
|
|
wp_schedule_event(time(), 'daily', 'slm_daily_cron_event');
|
|
do_action('slm_activation_complete');
|
|
}
|
|
}
|
|
$slm_activator = new SLM_Activator(); |