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_trust_theme() { $this->secure_request('mainwp_trust_theme'); MainWPThemes::trustPost(); die(json_encode(array('result' => true))); }
public static function performSearch() { MainWPInstallBulk::performSearch(MainWPThemes::getClassName(), 'Themes'); }