/**
 * Update all settings which are passed.
 * @param array $options
 */
function restaurantpress_update_options($options)
{
    if (!class_exists('RP_Admin_Settings')) {
        include 'class-rp-admin-settings.php';
    }
    RP_Admin_Settings::save_fields($options);
}
 /**
  * Save settings
  */
 public function save()
 {
     global $current_section;
     $settings = $this->get_settings();
     RP_Admin_Settings::save_fields($settings);
     if ($current_section) {
         do_action('restaurantpress_update_options_' . $this->id . '_' . $current_section);
     }
 }
 /**
  * Save settings
  */
 public function save()
 {
     $settings = $this->get_settings();
     RP_Admin_Settings::save_fields($settings);
 }