Can a cookie written in functions.php be set with JavaScript?
-
Hi, I have a php cookie written in my child theme functions.php with loads of variables etc for multisite.
It works great but only with Varnish caching disabled. Is there a simple way of getting the output of the php cookie and setting it with JavaScript? Thanks.
- The topic ‘Can a cookie written in functions.php be set with JavaScript?’ is closed to new replies.