/**
 * Returns the main instance of g_tool_tips to prevent the need to use globals.
 *
 * @since  1.0.0
 * @return object g_tool_tips
 */
function g_tool_tips()
{
    $instance = g_tool_tips::instance(__FILE__, '1.0.0');
    if (is_null($instance->settings)) {
        $instance->settings = g_tool_tips_Settings::instance($instance);
    }
    return $instance;
}
 /**
  * Main g_tool_tips Instance
  *
  * Ensures only one instance of g_tool_tips is loaded or can be loaded.
  *
  * @since 1.0.0
  * @static
  * @see g_tool_tips()
  * @return Main g_tool_tips instance
  */
 public static function instance($file = '', $version = '1.0.0')
 {
     if (is_null(self::$_instance)) {
         self::$_instance = new self($file, $version);
     }
     return self::$_instance;
 }