/** * Return the class instance. * * @return Sofa_Crowdfunding_WPML */ public static function get_instance() { if (is_null(self::$instance)) { self::$instance = new Sofa_Crowdfunding_WPML(); } return self::$instance; }
/** * Returns the one and only instance of this plugin * @return Sofa_Crowdfunding_WPML */ function get_sofa_crowdfunding_wpml() { return Sofa_Crowdfunding_WPML::get_instance(); }