/** * Returns and/or create the single instance of this class. * * @return Charitable_Locations * @access public * @since 1.2.0 */ public static function get_instance() { if (is_null(self::$instance)) { self::$instance = new Charitable_Locations(); } return self::$instance; }
/** * Return Charitable_Locations helper class. * * @return Charitable_Locations * @since 1.0.0 */ function charitable_get_location_helper() { return Charitable_Locations::get_instance(); }