public static function validate_options($input) { $sanitized = array(); $sanitized['api_key'] = trim($input['api_key']); return $sanitized; }