Prevent WordPress from sending set-cookie http header

For some reason WordPress is setting "Set-Cookie" in the header of the entire site, this is telling my cache server not to cache the page, I tried to remove it via .htaccess, but it disabled the entire site and not I was able to log in more to the admin panel

How can I remove the "Set-cookie" from the http headers only on the frontend of my website? This is in the home, tags, search, blog, etc…

curl -I https://meusite.comHTTP/1.1 200 OK Date: Sun, 12 Sep 2021 22:19:41 GMT Set-Cookie: ppwp_wp_session=0000000000000000000000000000000000000000000000000 expires=Sun, 12-Sep-2021 22:49:41 GMT; Max-Age=1800; path=/ cache-Control: public s-maxage=230 Link: <>; rel="" Link: <>; rel="alternate"; type="application/json" Link: <>; rel=shortlink Content-Type: text/html; charset=UTF-8 Transfer-Encoding: chunked X-CACHE: miss Alt-Svc: clear