software-license-manager/includes/class-slm-activator.php
Michel Velis 27fe73fe55 upgraded jQuery ui version
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
2019-06-12 10:09:54 -04:00

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();