return false;
        }
    }
}
define('APP_PLUGIN_DIR', dirname(__FILE__), true);
define('APP_PLUGIN_FILE', __FILE__, true);
require_once APP_PLUGIN_DIR . '/includes/default_filters.php';
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';
 public function process_shortcode($args = array(), $content = '')
 {
     $instance = App_Shortcodes::get_shortcode_instance('app_service_providers');
     if (!empty($this->_requested_location_id) && $instance && method_exists($instance, 'process_shortcode')) {
         return $instance->process_shortcode($args, $content);
     } else {
         return parent::process_shortcode($args, $content);
     }
 }
 public static function serve()
 {
     if (!empty(self::$_me)) {
         return false;
     }
     self::$_me = new App_Shortcodes();
     add_action('init', array(self::$_me, 'do_register'));
 }