title: Passing array as option value in wordpress function register_setting
body: <p>I am trying to pass an array as $option parameter in the register_setting function in Wordpress </p>
  
  <pre><code>$settingsArray = array (
      'setting_name_one', 
      'setting_name_two',
      'setting_name_three'
  );
  foreach ($settingsArray as $setting) {
      register_setting( 'player_row_detail', $setting);
  }
  </code></pre>
  
  <p>I have currently achieved:</p>
  
  <pre><code>register_setting( 'player_row_detail', 'setting_name_one');
  register_setting( 'player_row_detail', 'setting_name_two');
  register_setting( 'player_row_detail', 'setting_name_three');
  </code></pre>
  
  <p>Which is the default wordpress usage of the function.</p>