public function get(string $key, $default = null)
    {
        if ($this->has($key)) {
            if ($this->get_raw($key) === null) {
                return null;
            }

            if (\is_array($this->get_raw($key))) {
                return \array_map([$this, 'sanitise_array'], $this->get_raw($key));
            }

            if ($this->get_raw($key) instanceof File) {
                return $this->get_raw($key);
            }

            return \sanitize_textarea_field($this->get_raw($key));
        }

        return $default;
    }