public static function get_instance()
 {
     if (!isset(self::$main_instance)) {
         self::$main_instance = new PluginName();
     }
     return self::$main_instance;
 }
 /**
  * Main Instance
  */
 public static function instance()
 {
     if (is_null(self::$_instance)) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
 /**
  * Adds a notice to
  *
  * @param        $message
  * @param string $type
  */
 protected function admin_notice($message, $type = 'updated')
 {
     if (WP_DEBUG) {
         $message = $message . ' (in Module "' . $this->name . '")';
     }
     PluginName::admin_notice($message, $type);
 }