Skip to main content
2 of 8
added 51 characters in body
birgire
  • 67.8k
  • 7
  • 119
  • 251

You can try to change it with

define( 'TEST_COOKIE', 'toheloko_test_cookie' );

or

const TEST_COOKIE = 'toheloko_test_cookie';

inside your wp-config.php file.

By default we have:

define('TEST_COOKIE', 'wordpress_test_cookie');

in /wp-includes/default-constants.php.

Check out the wp_cookie_constants() and ms_cookie_constants() functions.

But I also wonder, as @PieterGoosen, why you need to change it.

birgire
  • 67.8k
  • 7
  • 119
  • 251