blocks/donation-form-grid/class-give-donation-form-grid-block.php 1 location
|
@@ 51-59 (lines=9) @@
|
48 |
|
* @access public |
49 |
|
* @return Give_Donation_form_Grid_Block |
50 |
|
*/ |
51 |
|
public static function get_instance() { |
52 |
|
if ( null === static::$instance ) { |
53 |
|
self::$instance = new static(); |
54 |
|
|
55 |
|
self::$instance->init(); |
56 |
|
} |
57 |
|
|
58 |
|
return self::$instance; |
59 |
|
} |
60 |
|
|
61 |
|
/** |
62 |
|
* Class Constructor |
blocks/donation-form/class-give-donation-form-block.php 1 location
|
@@ 51-59 (lines=9) @@
|
48 |
|
* @access public |
49 |
|
* @return Give_Donation_Form_Block |
50 |
|
*/ |
51 |
|
public static function get_instance() { |
52 |
|
if ( null === static::$instance ) { |
53 |
|
self::$instance = new static(); |
54 |
|
|
55 |
|
self::$instance->init(); |
56 |
|
} |
57 |
|
|
58 |
|
return self::$instance; |
59 |
|
} |
60 |
|
|
61 |
|
/** |
62 |
|
* Class Constructor |
includes/api/class-give-api-v2.php 1 location
|
@@ 63-71 (lines=9) @@
|
60 |
|
* @access public |
61 |
|
* @return Give_API_V2 |
62 |
|
*/ |
63 |
|
public static function get_instance() { |
64 |
|
if ( null === static::$instance ) { |
65 |
|
self::$instance = new static(); |
66 |
|
|
67 |
|
self::$instance->init(); |
68 |
|
} |
69 |
|
|
70 |
|
return self::$instance; |
71 |
|
} |
72 |
|
|
73 |
|
|
74 |
|
/** |
includes/class-give-comment.php 1 location
|
@@ 48-55 (lines=8) @@
|
45 |
|
* @access pu |
46 |
|
* @return Give_Comment |
47 |
|
*/ |
48 |
|
public static function get_instance() { |
49 |
|
if ( null === static::$instance ) { |
50 |
|
self::$instance = new static(); |
51 |
|
self::$instance->init(); |
52 |
|
} |
53 |
|
|
54 |
|
return self::$instance; |
55 |
|
} |
56 |
|
|
57 |
|
/** |
58 |
|
* Initialize |
includes/class-give-cron.php 1 location
|
@@ 53-60 (lines=8) @@
|
50 |
|
* @access public |
51 |
|
* @return static |
52 |
|
*/ |
53 |
|
public static function get_instance() { |
54 |
|
if ( null === static::$instance ) { |
55 |
|
self::$instance = new static(); |
56 |
|
self::$instance->setup(); |
57 |
|
} |
58 |
|
|
59 |
|
return self::$instance; |
60 |
|
} |
61 |
|
|
62 |
|
|
63 |
|
/** |
includes/class-give-session.php 1 location
|
@@ 137-144 (lines=8) @@
|
134 |
|
* @access public |
135 |
|
* @return Give_Session |
136 |
|
*/ |
137 |
|
public static function get_instance() { |
138 |
|
if ( null === static::$instance ) { |
139 |
|
self::$instance = new static(); |
140 |
|
self::$instance->__setup(); |
141 |
|
} |
142 |
|
|
143 |
|
return self::$instance; |
144 |
|
} |
145 |
|
|
146 |
|
/** |
147 |
|
* Setup |
includes/donors/class-give-donor-wall.php 1 location
|
@@ 52-60 (lines=9) @@
|
49 |
|
* @access public |
50 |
|
* @return Give_Donor_Wall |
51 |
|
*/ |
52 |
|
public static function get_instance() { |
53 |
|
if ( null === static::$instance ) { |
54 |
|
self::$instance = new static(); |
55 |
|
|
56 |
|
self::$instance->setup_actions(); |
57 |
|
} |
58 |
|
|
59 |
|
return self::$instance; |
60 |
|
} |
61 |
|
|
62 |
|
/** |
63 |
|
* Setup the default hooks and actions |
includes/payments/class-give-sequential-donation-number.php 1 location
|
@@ 42-50 (lines=9) @@
|
39 |
|
* @access public |
40 |
|
* @return Give_Sequential_Donation_Number |
41 |
|
*/ |
42 |
|
public static function get_instance() { |
43 |
|
if ( null === static::$instance ) { |
44 |
|
self::$instance = new static(); |
45 |
|
|
46 |
|
self::$instance->init(); |
47 |
|
} |
48 |
|
|
49 |
|
return self::$instance; |
50 |
|
} |
51 |
|
|
52 |
|
/** |
53 |
|
* Initialize the plugin, bailing if any required conditions are not met, |