/** * Define base updater function * * @since 1.0.0 * @return object */ function monstroid_dashboard_updater() { include_once monstroid_dashboard()->plugin_dir('admin/includes/class-monstroid-dashboard-updater.php'); return Monstroid_Dashboard_Updater::get_instance(); }
/** * Returns the instance. * * @since 1.0.0 * @return object */ public static function get_instance() { // If the single instance hasn't been set, set it now. if (null == self::$instance) { self::$instance = new self(); } return self::$instance; }