Example #1
0
 function new_menus()
 {
     if (MainWPUtility::isAdmin()) {
         //Adding the page to manage your added sites/groups
         //The first page which will display the post area etc..
         MainWPSecurityIssues::initMenu();
         MainWPManageSites::initMenu();
         MainWPPost::initMenu();
         MainWPPage::initMenu();
         MainWPThemes::initMenu();
         MainWPPlugins::initMenu();
         MainWPUser::initMenu();
         MainWPManageBackups::initMenu();
         MainWPOfflineChecks::initMenu();
         MainWPBulkUpdateAdminPasswords::initMenu();
         MainWPManageGroups::initMenu();
         MainWPSettings::initMenu();
         MainWPExtensions::initMenu();
         do_action('mainwp_admin_menu');
         MainWPDocumentation::initMenu();
         MainWPServerInformation::initMenu();
         MainWPChildScan::initMenu();
         MainWPAPISettings::initMenu();
     }
 }
 function mainwp_childscan()
 {
     MainWPChildScan::scan();
 }
Example #3
0
 public static function initMenu()
 {
     add_submenu_page('mainwp_tab', __('MainWP Child Scan', 'mainwp'), '<div class="mainwp-hidden">' . __('MainWPC Child Scan', 'mainwp') . '</div>', 'read', 'MainWPChildScan', array(MainWPChildScan::getClassName(), 'render'));
 }