Example #1
0
 /**
  * Returns the Nova object
  */
 function Nova()
 {
     // Make sure the class is instanciated
     $nova = Nova_Toolkit::get_instance();
     $nova->font_registry = new Nova_Google_Fonts_Registry();
     $nova->api = new Nova();
     $nova->scripts = new Nova_Scripts_Registry();
     $nova->styles = array('back' => new Nova_Styles_Customizer(), 'front' => new Nova_Styles_Frontend());
     /**
      * The path of the current Nova instance
      */
     Nova::$path = dirname(__FILE__);
     return $nova;
 }