Пример #1
0
 public static function init()
 {
     // Store options
     self::$write_key = get_option(self::SEGMENT_WRITE_KEY, '');
     self::$customerio_api = get_option(self::CUSTOMERIO_API_KEY, '');
     self::$customerio_site_id = get_option(self::CUSTOMERIO_SITE_ID, '');
     // Register Settings
     self::register_settings();
 }