\MainWPDashboard

Classes

MainWP_API_Handler Class MainWP_API_Handler()
MainWP_Api_Manager Class MainWP_Api_Manager
MainWP_Api_Manager_Key Class MainWP_Api_Manager_Key
MainWP_Api_Manager_Password_Management Class MainWP_Api_Manager_Password_Management
MainWP_Api_Manager_Plugin_Update Class MainWP_Api_Manager_Plugin_Update
MainWP_Backup_Handler Class MainWP_Backup_Handler
MainWP_Backup_Tasks Class MainWP_Backup_Tasks
MainWP_Bulk_Add Class MainWP_Bulk_Add
MainWP_Bulk_Post Class MainWP_Bulk_Post
MainWP_Bulk_Update_Admin_Passwords Class MainWP_Bulk_Update_Admin_Passwords
MainWP_Cache Class MainWP_Cache
MainWP_Connect Class MainWP_Connect
MainWP_Connection_Status Class MainWP_Connection_Status
MainWP_DB Class MainWP_DB
MainWP_DB_Backup Class MainWP_DB_Backup
MainWP_DB_Base Class MainWP_DB_Base
MainWP_DB_Common Class MainWP_DB_Common
MainWP_DB_Monitoring Class MainWP_DB_Monitoring
MainWP_Deprecated_Hooks Class MainWP_Deprecated_Hooks
MainWP_Error_Helper Class MainWP Error Helper
MainWP_Exception Class MainWP_Exception
MainWP_Extensions Class MainWP_Extensions
MainWP_Extensions_Handler Class MainWP_Extensions_Handler
MainWP_Extensions_View Class MainWP_Extensions_View
MainWP_Format Class MainWP_Format
MainWP_Hooks Class MainWP_Hooks
MainWP_Install Class MainWP_Install
MainWP_Install_Bulk Class MainWP_Install_Bulk
MainWP_Live_Report_Responder Class MainWP_Live_Report_Responder
MainWP_Live_Report_Responder_Activator Class MainWP_Live_Report_Responder_Activator
MainWP_Live_Reports Class MainWP_Live_Reports()
MainWP_Live_Reports_Responder_DB Class MainWP_Live_Reports_Responder_DB
MainWP_Logger Class MainWP_Logger
MainWP_Manage_Backups Class MainWP_Manage_Backups
MainWP_Manage_Backups_Handler Class MainWP_Manage_Backups_Handler
MainWP_Manage_Groups Class MainWP_Manage_Groups
MainWP_Manage_Sites Class MainWP_Manage_Sites
MainWP_Manage_Sites_Backup_View Class MainWP_Manage_Sites_Backup_View
MainWP_Manage_Sites_Handler Class MainWP_Manage_Sites_Handler
MainWP_Manage_Sites_List_Table Class MainWP_Manage_Sites_List_Table
MainWP_Manage_Sites_Update_View Class MainWP_Manage_Sites_Update_View
MainWP_Manage_Sites_View Class MainWP_Manage_Sites_View
MainWP_Menu Class MainWP_Menu
MainWP_Meta_Boxes Class MainWP_Meta_Boxes
MainWP_Monitoring Class MainWP_Monitoring
MainWP_Monitoring_Handler Class MainWP_Monitoring_Handler
MainWP_Monitoring_Sites_List_Table Class MainWP_Monitoring_Sites_List_Table
MainWP_Monitoring_View Class MainWP_Monitoring_View
MainWP_Notes Class MainWP_Notes
MainWP_Notification Class MainWP_Notification
MainWP_Notification_Settings Class MainWP_Notification_Settings
MainWP_Notification_Template Class MainWP_Notification_Template
MainWP_Overview Class MainWP_Overview
MainWP_Page Class MainWP_Page
MainWP_Plugins Class MainWP_Plugins
MainWP_Plugins_Handler Class MainWP MainWP_Plugins_Handler
MainWP_Plugins_Install_List_Table Class MainWP_Plugins_Install_List_Table
MainWP_Post Class MainWP_Posts
MainWP_Post_Backup_Handler Class MainWP_Post_Backup_Handler
MainWP_Post_Base_Handler Class MainWP_Post_Base_Handler
MainWP_Post_Extension_Handler Class MainWP_Post_Extension_Handler
MainWP_Post_Handler Class MainWP_Post_Handler
MainWP_Post_Page_Handler Class MainWP_Post_Page_Handler
MainWP_Post_Plugin_Theme_Handler Class MainWP_Post_Plugin_Theme_Handler
MainWP_Post_Site_Handler Class MainWP_Post_Site_Handler
MainWP_Premium_Update Class MainWP_Premium_Update
MainWP_QQ2_File_Uploader Class MainWP_QQ2_File_Uploader
MainWP_QQ2_Uploaded_File_Form Class MainWP_QQ2_Uploaded_File_Form
MainWP_QQ2_Uploaded_File_Xhr Class MainWP_QQ2_Uploaded_File_Xhr
MainWP_Recent_Pages Class MainWP_Recent_Pages
MainWP_Recent_Posts Class MainWP_Recent_Posts
MainWP_Security_Issues Class MainWP_Security_Issues
MainWP_Security_Issues_Widget Class MainWP_Security_Issues_Widget
MainWP_Server_Information Class MainWP_Server_Information
MainWP_Server_Information_Handler Class MainWP Server_Information_Handler
MainWP_Settings Class MainWP_Settings
MainWP_Setup_Wizard Class MainWP_Setup_Wizard
MainWP_Site_Info Class MainWP_Site_Info
MainWP_Site_Open Class MainWP_Site_Open
MainWP_Sync Class MainWP_Sync
MainWP_System Class MainWP_System
MainWP_System_Cron_Jobs Class MainWP_System_Cron_Jobs
MainWP_System_Handler Class MainWP_System_Handler
MainWP_System_Utility Class MainWP_System_Utility
MainWP_System_View Class MainWP_System_View
MainWP_Themes Class MainWP_Themes_Page
MainWP_Themes_Handler Class MainWP_Themes_Handler
MainWP_Twitter Class MainWP_Twitter
MainWP_UI Class MainWP_UI
MainWP_Updates Class MainWP_Updates
MainWP_Updates_Handler Class MainWP_Updates_Handler
MainWP_Updates_Overview Class MainWP_Updates_Overview
MainWP_Updates_Per_Group Class MainWP_Updates_Per_Group
MainWP_Updates_Per_Item Class MainWP_Updates_Per_Item.
MainWP_Updates_Per_Site Class MainWP_Updates_Per_Site
MainWP_Updates_Table_Helper Class MainWP_Updates_Table_Helper
MainWP_User Class MainWP_User
MainWP_Utility Class MainWP_Utility
MainWP_Widget_Plugins Class MainWP_Widget_Plugins
MainWP_Widget_Themes Class MainWP_Widget_Themes
MainWP_WordPress_SEO Class MainWP_WordPress_SEO
MainWP_WP_CLI_Command Class MainWP_WP_CLI_Command

Constants

MAINWP_VIEW_PER_GROUP

MAINWP_VIEW_PER_GROUP = 2

MAINWP_VIEW_PER_PLUGIN_THEME

MAINWP_VIEW_PER_PLUGIN_THEME = 0

MAINWP_VIEW_PER_SITE

MAINWP_VIEW_PER_SITE = 1

Functions

check_if_valid_client()

check_if_valid_client(string  $email, string  $siteid) : array

Check database to see if client exists.

Parameters

string $email

Email address to check for.

string $siteid

Child Site ID.

Returns

array

check_live_reporting_access()

check_live_reporting_access(  $siteurl) 

Check if user has access.

Parameters

$siteurl

Child Site URL.

live_reports_responder_secure_connection()

live_reports_responder_secure_connection() 

Live Reports secure connection.

mainwp_current_user_have_right()

mainwp_current_user_have_right(string  $cap_type = '', string  $cap) : boolean

Method mainwp_current_user_have_right()

Check permission level by hook mainwp_currentusercan of Team Control extension.

Parameters

string $cap_type

group or type of capabilities.

string $cap

capabilities for current user.

Returns

boolean —

true|false

mainwpAddTranslation()

mainwpAddTranslation(mixed  $pArray, mixed  $pKey, mixed  $pText) 

Method mainwpAddTranslation()

Grab info needed to build array and strip chartacters "/[^A-Za-z0-9_]/".

Parameters

mixed $pArray

Array of tranlatable text.

mixed $pKey

Key for each array enty.

mixed $pText

Text for each array entry.