init(); // ajax requests $ajax = new OnecomHealthMonitorAjax(); $ajax->init(); $checks = new OnecomChecks(); $checks->init(); // logout fixes $logout = new OnecomCheckLogin(); $logout->init(); $notices = new OnecomAdminNotices(); $notices->init(); // user enumeration fixes $user_enumeration = new OnecomCheckUsername(); $user_enumeration->init(); // add cron for weekly stats $cron = new OnecomHealthMonitorCron(); $cron->init(); // schedule single event to run HM scan add_action( 'onecom_hm_scan', array( $cron, 'hm_on_demand_scan' ) );