Renaming WooCommerce cookies? – WordPress Development Stack Exchange

Question

Can we define the name of WooCommerce cookies?

For example, in the dev console I can see the following cookie names:

  • woocommerce_cart_hash
  • woocommerce_items_in_cart

To rename the standard WP cookies is easily done in the configuration file of WP – wp-config.php

I guess it would be possible to define the Woo cookies via functions.php.

Does anyone knows how to handle this subject?

0
Legion Inc. 4 weeks 2022-11-01T20:54:59-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse