/** * @return ICWP_WPSF_WpCron */ public static function GetInstance() { if (is_null(self::$oInstance)) { self::$oInstance = new self(); } return self::$oInstance; }
/** * @return ICWP_WPSF_WpCron */ public static function loadWpCronProcessor() { if (!isset(self::$oWpCron)) { require_once dirname(__FILE__) . ICWP_DS . 'icwp-wpcron.php'; self::$oWpCron = ICWP_WPSF_WpCron::GetInstance(); } return self::$oWpCron; }