/**
  * Set the default settings. Each setting has a key value in an array and the default is the value.
  * Settings can be accessed here without necessarily being visible in get_settings(). get_settings() is only for UI
  * @filter ctct_default_settings
  * @filter ctct_settings_filter
  * @return array $settings array
  */
 private static function set_settings()
 {
     $option = get_option('ctct_settings');
     $defaults = apply_filters('ctct_default_settings', array('general' => '', 'eventspot' => true, 'logging' => array('activity'), 'register_page_method' => 'none', 'list_selection_format' => 'checkbox', 'default_opt_in' => 1, 'signup_title' => __('Receive our Newsletter', 'ctct'), 'signup_description' => __('Subscribe to the Newsletter', 'ctct'), 'default_select_option_text' => __('Select a List…', 'ctct'), 'signup_description_position' => 'before', 'comment_form_signup' => true, 'comment_form_check_text' => __('Subscribe me to your mailing list', 'ctct'), 'comment_form_subscribed_text' => __('You are currently subscribed to our mailing list', 'ctct'), 'comment_form_admin_text' => __('You are the administrator - no need to subscribe you to the mailing list', 'ctct'), 'comment_form_clear' => true, 'spam_methods' => array('akismet')));
     /**
      * When there is an array of checkboxes and none are checked,
      * the field isn't set and so it reverts to defaults. That's not ideal.
      * The sizeof() check is to get the defaults even when the license key is set.
      */
     foreach ($defaults as $k => $v) {
         if (!empty($option) && is_array($option) && sizeof($option) > 10 && is_array($v) && !isset($option[$k])) {
             $option[$k] = array();
         }
     }
     $options = apply_filters('ctct_settings_filter', wp_parse_args($option, $defaults));
     self::$options = $options;
     return $options;
 }