lib/class-wp2d-contextual-help.php 1 location
|
@@ 30-34 (lines=5) @@
|
27 |
|
* @return WP2D_Contextual_Help Instance of this class. |
28 |
|
*/ |
29 |
|
public static function instance() { |
30 |
|
if ( null === self::$instance ) { |
31 |
|
self::$instance = new self(); |
32 |
|
self::$instance->constants(); |
33 |
|
self::$instance->setup(); |
34 |
|
} |
35 |
|
|
36 |
|
return self::$instance; |
37 |
|
} |
lib/class-wp2d.php 1 location
|
@@ 56-61 (lines=6) @@
|
53 |
|
public static function instance() { |
54 |
|
if ( null === self::$instance ) { |
55 |
|
self::$instance = new self(); |
56 |
|
if ( self::$instance->version_check() ) { |
57 |
|
self::$instance->constants(); |
58 |
|
self::$instance->setup(); |
59 |
|
} else { |
60 |
|
self::$instance = null; |
61 |
|
} |
62 |
|
} |
63 |
|
|
64 |
|
return self::$instance; |