/**
 * 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_Settings Instance
  *
  * Ensures only one instance of g_tool_tips_Settings is loaded or can be loaded.
  *
  * @since 1.0.0
  * @static
  * @see g_tool_tips()
  * @return Main g_tool_tips_Settings instance
  */
 public static function instance($parent)
 {
     if (is_null(self::$_instance)) {
         self::$_instance = new self($parent);
     }
     return self::$_instance;
 }