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 |
blocks/donor-wall/class-give-donor-wall.php 1 location
|
@@ 51-59 (lines=9) @@
|
| 48 |
|
* @access public |
| 49 |
|
* @return Give_Donor_Wall_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/admin/class-give-admin.php 1 location
|
@@ 42-49 (lines=8) @@
|
| 39 |
|
* @access public |
| 40 |
|
* @return Give_Admin |
| 41 |
|
*/ |
| 42 |
|
public static function get_instance() { |
| 43 |
|
if ( null === static::$instance ) { |
| 44 |
|
self::$instance = new static(); |
| 45 |
|
self::$instance->setup(); |
| 46 |
|
} |
| 47 |
|
|
| 48 |
|
return self::$instance; |
| 49 |
|
} |
| 50 |
|
|
| 51 |
|
/** |
| 52 |
|
* Setup Admin |
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
|
@@ 66-73 (lines=8) @@
|
| 63 |
|
* @access pu |
| 64 |
|
* @return Give_Comment |
| 65 |
|
*/ |
| 66 |
|
public static function get_instance() { |
| 67 |
|
if ( null === static::$instance ) { |
| 68 |
|
self::$instance = new static(); |
| 69 |
|
self::$instance->init(); |
| 70 |
|
} |
| 71 |
|
|
| 72 |
|
return self::$instance; |
| 73 |
|
} |
| 74 |
|
|
| 75 |
|
/** |
| 76 |
|
* 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
|
@@ 53-61 (lines=9) @@
|
| 50 |
|
* @access public |
| 51 |
|
* @return Give_Donor_Wall |
| 52 |
|
*/ |
| 53 |
|
public static function get_instance() { |
| 54 |
|
if ( null === static::$instance ) { |
| 55 |
|
self::$instance = new static(); |
| 56 |
|
|
| 57 |
|
self::$instance->setup_actions(); |
| 58 |
|
} |
| 59 |
|
|
| 60 |
|
return self::$instance; |
| 61 |
|
} |
| 62 |
|
|
| 63 |
|
/** |
| 64 |
|
* Setup the default hooks and actions |
includes/frontend/class-give-frontend.php 1 location
|
@@ 39-46 (lines=8) @@
|
| 36 |
|
* @access public |
| 37 |
|
* @return Give_Frontend |
| 38 |
|
*/ |
| 39 |
|
public static function get_instance() { |
| 40 |
|
if ( null === static::$instance ) { |
| 41 |
|
self::$instance = new static(); |
| 42 |
|
self::$instance->setup(); |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
return self::$instance; |
| 46 |
|
} |
| 47 |
|
|
| 48 |
|
/** |
| 49 |
|
* Setup Admin |
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, |
includes/class-give-cache-setting.php 1 location
|
@@ 115-123 (lines=9) @@
|
| 112 |
|
* @access public |
| 113 |
|
* @return Give_Cache_Setting |
| 114 |
|
*/ |
| 115 |
|
public static function get_instance() { |
| 116 |
|
if ( null === static::$instance ) { |
| 117 |
|
self::$instance = new static(); |
| 118 |
|
|
| 119 |
|
self::$instance->setup(); |
| 120 |
|
} |
| 121 |
|
|
| 122 |
|
return self::$instance; |
| 123 |
|
} |
| 124 |
|
|
| 125 |
|
/** |
| 126 |
|
* Setup |