Пример #1
0
 function mainwp_childscan()
 {
     MainWP_Child_Scan::scan();
 }
Пример #2
0
 function new_menus()
 {
     if (MainWP_Utility::isAdmin()) {
         //Adding the page to manage your added sites/groups
         //The first page which will display the post area etc..
         MainWP_Security_Issues::initMenu();
         MainWP_Manage_Sites::initMenu();
         MainWP_Post::initMenu();
         MainWP_Page::initMenu();
         MainWP_Themes::initMenu();
         MainWP_Plugins::initMenu();
         MainWP_User::initMenu();
         MainWP_Manage_Backups::initMenu();
         MainWP_Bulk_Update_Admin_Passwords::initMenu();
         MainWP_Manage_Groups::initMenu();
         MainWP_Settings::initMenu();
         MainWP_Extensions::initMenu();
         do_action('mainwp_admin_menu');
         MainWP_Documentation::initMenu();
         MainWP_Server_Information::initMenu();
         MainWP_Child_Scan::initMenu();
         MainWP_API_Settings::initMenu();
     }
 }
 public static function initMenu()
 {
     add_submenu_page('mainwp_tab', __('MainWP Child Scan', 'mainwp'), '<div class="mainwp-hidden">' . __('MainWPC Child Scan', 'mainwp') . '</div>', 'read', 'MainWP_Child_Scan', array(MainWP_Child_Scan::getClassName(), 'render'));
 }