array( 'title' => __('File change detection', 'all-in-one-wp-security-and-firewall'), 'render_callback' => array($this, 'render_file_change_detect'), ), 'malware-scan' => array( 'title' => __('Malware scan', 'all-in-one-wp-security-and-firewall'), 'render_callback' => array($this, 'render_malware_scan'), ), ); $this->menu_tabs = array_filter($menu_tabs, array($this, 'should_display_tab')); } /** * File change detection on your system files. * * @global $wpdb * @global $aio_wp_security * @global $aiowps_feature_mgr */ protected function render_file_change_detect() { global $aio_wp_security; $aios_commands = new AIOWPSecurity_Commands(); $scanner_data = $aios_commands->get_scanner_data(); $aio_wp_security->include_template('wp-admin/scanner/file-change-detect.php', false, $scanner_data); } /** * Malware code scan on your system files. * * @return void */ protected function render_malware_scan() { global $aio_wp_security; $aio_wp_security->include_template('wp-admin/scanner/malware-scan.php', false, array()); } }