Example #1
0
require_once APP_PLUGIN_DIR . '/includes/class_app_install.php';
require_once APP_PLUGIN_DIR . '/includes/class_app_timed_abstractions.php';
require_once APP_PLUGIN_DIR . '/includes/class_app_roles.php';
require_once APP_PLUGIN_DIR . '/includes/class_app_codec.php';
require_once APP_PLUGIN_DIR . '/includes/class_app_shortcodes.php';
require_once APP_PLUGIN_DIR . '/includes/class_app_addon_helper.php';
App_Installer::serve();
App_AddonHandler::serve();
App_Shortcodes::serve();
global $appointments;
$appointments = new Appointments();
if (is_admin()) {
    require_once APP_PLUGIN_DIR . '/includes/support/class_app_tutorial.php';
    App_Tutorial::serve();
    require_once APP_PLUGIN_DIR . '/includes/support/class_app_admin_help.php';
    App_AdminHelp::serve();
    // Setup dashboard notices
    if (file_exists(APP_PLUGIN_DIR . '/includes/wpmudev-dash-notification.php')) {
        global $wpmudev_notices;
        if (!is_array($wpmudev_notices)) {
            $wpmudev_notices = array();
        }
        $wpmudev_notices[] = array('id' => 679841, 'name' => 'Appointments+', 'screens' => array('appointments_page_app_settings', 'appointments_page_app_shortcodes', 'appointments_page_app_faq'));
        require_once APP_PLUGIN_DIR . '/includes/wpmudev-dash-notification.php';
    }
    // End dash bootstrap
}
/**
 * Find blogs and uninstall tables for each of them
 * @since 1.0.2
 * @until 1.4.1
 public static function serve()
 {
     $me = new App_AdminHelp();
     $me->_initialize();
 }