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