Hi @wpdelicious
I’ve tested the latest plugin version with both ways adding the filter, the way like you mentioned and also wrapping the filter in after_setup_theme
, with both methods i still get the cookie header:
$ curl -IL https://stage.eatclub.tv/
HTTP/2 200
server: nginx
date: Fri, 08 Jul 2022 09:50:06 GMT
content-type: text/html; charset=UTF-8
set-cookie: _delicious_recipes_session=eed0586686bcd4c6961332111d1ce14f%7C%7C1657275605%7C%7C1657275245; expires=Fri, 08-Jul-2022 10:20:05 GMT; Max-Age=1800; path=/
x-hacker: If you're reading this, you should visit wpvip.com/careers and apply to join the fun, mention this header.
x-powered-by: WordPress VIP <https://wpvip.com>
host-header: a9130478a60e5f9135f765b23f26593b
x-robots-tag: noindex, nofollow
p3p: CP="ALL DSP NID CURa ADMa DEVa HISa OTPa OUR NOR NAV DEM"
link: <https://stage.eatclub.tv/wp-json/>; rel="https://api.w.org/"
link: <https://stage.eatclub.tv/wp-json/wp/v2/pages/1394>; rel="alternate"; type="application/json"
link: <https://stage.eatclub.tv/>; rel=shortlink
x-rq: hhn1 0 4 9980
age: 0
x-cache: miss
accept-ranges: bytes
Looks like the filter never get’s applied.
Regards