Esempio n. 1
0
 /**
  * @since 1.0.0
  * @return Linker_Main
  */
 public static function instance()
 {
     if (is_null(self::$_instance)) {
         self::$_instance = new Linker_Main();
     }
     return self::$_instance;
 }
Esempio n. 2
0
 public function test_getinstance()
 {
     $this->assertInstanceOf('Linker_Main', Linker_Main::instance());
 }
 public static function activation()
 {
     Linker_Main::instance()->cpt->register_post_type();
     flush_rewrite_rules();
 }